Browse Source

mktemp(3) et al. go in stdlib.h, not unistd.h. While there be more

explicit about mktemp(3) in the man page.
OPENBSD_3_8
millert 19 years ago
parent
commit
fc526f74a1
2 changed files with 6 additions and 6 deletions
  1. +5
    -1
      src/include/stdlib.h
  2. +1
    -5
      src/include/unistd.h

+ 5
- 1
src/include/stdlib.h View File

@ -1,4 +1,4 @@
/* $OpenBSD: stdlib.h,v 1.33 2005/05/11 18:44:12 espie Exp $ */
/* $OpenBSD: stdlib.h,v 1.34 2005/05/27 17:45:56 millert Exp $ */
/* $NetBSD: stdlib.h,v 1.25 1995/12/27 21:19:08 jtc Exp $ */ /* $NetBSD: stdlib.h,v 1.25 1995/12/27 21:19:08 jtc Exp $ */
/*- /*-
@ -122,6 +122,10 @@ ldiv_t ldiv(long, long);
long long long long
llabs(long long); llabs(long long);
void *malloc(size_t); void *malloc(size_t);
char *mkdtemp(char *);
int mkstemp(char *);
int mkstemps(char *, int);
char *mktemp(char *);
void qsort(void *, size_t, size_t, int (*)(const void *, const void *)); void qsort(void *, size_t, size_t, int (*)(const void *, const void *));
int rand(void); int rand(void);
int rand_r(unsigned int *); int rand_r(unsigned int *);


+ 1
- 5
src/include/unistd.h View File

@ -1,4 +1,4 @@
/* $OpenBSD: unistd.h,v 1.52 2004/01/13 18:10:53 millert Exp $ */
/* $OpenBSD: unistd.h,v 1.53 2005/05/27 17:45:56 millert Exp $ */
/* $NetBSD: unistd.h,v 1.26.4.1 1996/05/28 02:31:51 mrg Exp $ */ /* $NetBSD: unistd.h,v 1.26.4.1 1996/05/28 02:31:51 mrg Exp $ */
/*- /*-
@ -165,10 +165,6 @@ int initgroups(const char *, gid_t);
int iruserok(u_int32_t, int, const char *, const char *); int iruserok(u_int32_t, int, const char *, const char *);
int iruserok_sa(const void *, int, int, const char *, const char *); int iruserok_sa(const void *, int, int, const char *, const char *);
int lchown(const char *, uid_t, gid_t); int lchown(const char *, uid_t, gid_t);
char *mkdtemp(char *);
int mkstemp(char *);
int mkstemps(char *, int);
char *mktemp(char *);
int nfssvc(int, void *); int nfssvc(int, void *);
int nice(int); int nice(int);
void psignal(unsigned int, const char *); void psignal(unsigned int, const char *);


Loading…
Cancel
Save