xref: /haiku/headers/compatibility/bsd/unistd.h (revision caed67a8cba83913b9c21ac2b06ebc6bd1cb3111)
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 #include <features.h>
11 
12 
13 #ifdef _DEFAULT_SOURCE
14 
15 
16 #define L_SET	SEEK_SET
17 #define	L_INCR	SEEK_CUR
18 #define	L_XTND	SEEK_END
19 
20 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
25 void	endusershell(void);
26 char	*getpass(const char *prompt);
27 char	*getusershell(void);
28 int		issetugid(void);
29 void	setusershell(void);
30 
31 #ifdef __cplusplus
32 }
33 #endif
34 
35 
36 #endif
37 
38 
39 #endif	/* _BSD_UNISTD_H_ */
40