xref: /haiku/headers/compatibility/bsd/stdlib.h (revision 2897df967633aab846ff4917b53e2af7d1e54eeb)
1 /*
2  * Copyright 2006-2010 Haiku Inc. All Rights Reserved.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef _BSD_STDLIB_H_
6 #define _BSD_STDLIB_H_
7 
8 
9 #include_next <stdlib.h>
10 
11 
12 #ifdef _BSD_SOURCE
13 
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
19 int			daemon(int noChangeDir, int noClose);
20 const char	*getprogname(void);
21 void		setprogname(const char *programName);
22 
23 int			mkstemps(char *templat, int slen);
24 
25 #ifdef __cplusplus
26 }
27 #endif
28 
29 
30 #endif
31 
32 
33 #endif	/* _BSD_STDLIB_H_ */
34