2006-08-07 15:15:01 +04:00
|
|
|
/*
|
2008-02-02 20:38:09 +03:00
|
|
|
* Copyright 2006-2008, 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>
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
#endif /* _BSD_UNISTD_H_ */
|