2006-08-07 15:15:01 +04:00
|
|
|
/*
|
2010-11-04 01:04:50 +03:00
|
|
|
* Copyright 2006-2010 Haiku Inc. All Rights Reserved.
|
2006-08-07 15:15:01 +04:00
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
#ifndef _BSD_UNISTD_H_
|
|
|
|
#define _BSD_UNISTD_H_
|
|
|
|
|
|
|
|
|
|
|
|
#include_next <unistd.h>
|
|
|
|
|
|
|
|
|
2015-04-16 08:29:58 +03:00
|
|
|
#ifdef _BSD_SOURCE
|
|
|
|
|
|
|
|
|
2008-02-02 20:38:09 +03:00
|
|
|
#define L_SET SEEK_SET
|
|
|
|
#define L_INCR SEEK_CUR
|
|
|
|
#define L_XTND SEEK_END
|
|
|
|
|
|
|
|
|
2006-08-07 15:15:01 +04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2008-02-02 20:38:09 +03:00
|
|
|
void endusershell(void);
|
2006-08-07 20:46:24 +04:00
|
|
|
char *getpass(const char *prompt);
|
2008-02-02 20:38:09 +03:00
|
|
|
char *getusershell(void);
|
2006-08-07 20:46:24 +04:00
|
|
|
int issetugid(void);
|
2008-02-02 20:38:09 +03:00
|
|
|
void setusershell(void);
|
2006-08-07 15:15:01 +04:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2015-04-16 08:29:58 +03:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2006-08-07 15:15:01 +04:00
|
|
|
#endif /* _BSD_UNISTD_H_ */
|