1 /* 2 * Copyright 2006-2010 Haiku Inc. All Rights Reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef _BSD_UNISTD_H_ 6 #define _BSD_UNISTD_H_ 7 8 9 #include_next <unistd.h> 10 11 12 #ifdef _BSD_SOURCE 13 14 15 #define L_SET SEEK_SET 16 #define L_INCR SEEK_CUR 17 #define L_XTND SEEK_END 18 19 20 #ifdef __cplusplus 21 extern "C" { 22 #endif 23 24 void endusershell(void); 25 char *getpass(const char *prompt); 26 char *getusershell(void); 27 int issetugid(void); 28 void setusershell(void); 29 30 #ifdef __cplusplus 31 } 32 #endif 33 34 35 #endif 36 37 38 #endif /* _BSD_UNISTD_H_ */ 39