xref: /haiku/headers/compatibility/bsd/stdlib.h (revision 6eafb4b041ad79cb936b2041fdb9c56b1209cc10)
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 #ifdef __cplusplus
24 }
25 #endif
26 
27 
28 #endif
29 
30 
31 #endif	/* _BSD_STDLIB_H_ */
32