1 /* 2 * Copyright 2006-2007, 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 __cplusplus 13 extern "C" { 14 #endif 15 16 int daemon(int noChangeDir, int noClose); 17 const char *getprogname(void); 18 void setprogname(const char *programName); 19 20 #ifdef __cplusplus 21 } 22 #endif 23 24 #endif /* _BSD_STDLIB_H_ */ 25