add mkostemp{s,} mkstemps from FreeBSD
This commit is contained in:
parent
017500be43
commit
e00a3615cf
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: stdlib.h,v 1.109 2014/06/12 18:49:37 christos Exp $ */
|
/* $NetBSD: stdlib.h,v 1.110 2014/06/18 17:48:22 christos Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1990, 1993
|
* Copyright (c) 1990, 1993
|
||||||
@ -182,6 +182,8 @@ void srandom(unsigned int) __RENAME(__srandom60);
|
|||||||
#endif
|
#endif
|
||||||
#ifdef _NETBSD_SOURCE
|
#ifdef _NETBSD_SOURCE
|
||||||
#define RANDOM_MAX 0x7fffffff /* (((long)1 << 31) - 1) */
|
#define RANDOM_MAX 0x7fffffff /* (((long)1 << 31) - 1) */
|
||||||
|
int mkostemp(char *, int);
|
||||||
|
int mkostemps(char *, int, int);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
char *mkdtemp(char *);
|
char *mkdtemp(char *);
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: unistd.h,v 1.140 2014/01/02 23:33:50 christos Exp $ */
|
/* $NetBSD: unistd.h,v 1.141 2014/06/18 17:48:22 christos Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1998, 1999, 2008 The NetBSD Foundation, Inc.
|
* Copyright (c) 1998, 1999, 2008 The NetBSD Foundation, Inc.
|
||||||
@ -353,6 +353,7 @@ __aconst char *getusershell(void);
|
|||||||
int initgroups(const char *, gid_t);
|
int initgroups(const char *, gid_t);
|
||||||
int iruserok(uint32_t, int, const char *, const char *);
|
int iruserok(uint32_t, int, const char *, const char *);
|
||||||
int issetugid(void);
|
int issetugid(void);
|
||||||
|
int mkstemps(char *, int);
|
||||||
int nfssvc(int, void *);
|
int nfssvc(int, void *);
|
||||||
int pipe2(int *, int);
|
int pipe2(int *, int);
|
||||||
int profil(char *, size_t, u_long, u_int);
|
int profil(char *, size_t, u_long, u_int);
|
||||||
|
Loading…
Reference in New Issue
Block a user