vfs: check userland buffers before reading them.
[haiku.git] / headers / compatibility / bsd / unistd.h
blobfbcd17cce15058651bdd742bbb4d14878e791949
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_
9 #include_next <unistd.h>
12 #ifdef _BSD_SOURCE
15 #define L_SET SEEK_SET
16 #define L_INCR SEEK_CUR
17 #define L_XTND SEEK_END
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
24 void endusershell(void);
25 char *getpass(const char *prompt);
26 char *getusershell(void);
27 int issetugid(void);
28 void setusershell(void);
30 #ifdef __cplusplus
32 #endif
35 #endif
38 #endif /* _BSD_UNISTD_H_ */