summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2013-08-09 17:24:23 +0000
committerjilles <jilles@FreeBSD.org>2013-08-09 17:24:23 +0000
commit2895e1352cf3788606924d800c3a5c589520ea00 (patch)
treeb0079b8a44c97413e3e872df791a811d58d8fcb2 /include
parent8b37b80e65821eac7fb71791878a7af0827f61b1 (diff)
downloadFreeBSD-src-2895e1352cf3788606924d800c3a5c589520ea00.zip
FreeBSD-src-2895e1352cf3788606924d800c3a5c589520ea00.tar.gz
Add mkostemp() and mkostemps().
These are like mkstemp() and mkstemps() but allow passing open(2) flags like O_CLOEXEC.
Diffstat (limited to 'include')
-rw-r--r--include/stdlib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index 1902950..93cf122 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -282,6 +282,8 @@ const char *
int heapsort(void *, size_t, size_t, int (*)(const void *, const void *));
int l64a_r(long, char *, int);
int mergesort(void *, size_t, size_t, int (*)(const void *, const void *));
+int mkostemp(char *, int);
+int mkostemps(char *, int, int);
void qsort_r(void *, size_t, size_t, void *,
int (*)(void *, const void *, const void *));
int radixsort(const unsigned char **, int, const unsigned char *,
OpenPOWER on IntegriCloud