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 #define L_SET SEEK_SET 13 #define L_INCR SEEK_CUR 14 #define L_XTND SEEK_END 15 16 17 #ifdef __cplusplus 18 extern "C" { 19 #endif 20 21 void endusershell(void); 22 char *getpass(const char *prompt); 23 char *getusershell(void); 24 int issetugid(void); 25 void setusershell(void); 26 27 #ifdef __cplusplus 28 } 29 #endif 30 31 #endif /* _BSD_UNISTD_H_ */ 32