mirror of
https://review.haiku-os.org/haiku
synced 2025-01-18 20:48:48 +01:00
4169a972ee
Specified in POSIX.1-2024 https://www.austingroupbugs.net/view.php?id=1134 Change-Id: Ie715a102aa6f7764bc639e0a1874a6c7f7d81019 Reviewed-on: https://review.haiku-os.org/c/haiku/+/7846 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
40 lines
549 B
C
40 lines
549 B
C
/*
|
|
* Copyright 2006-2010 Haiku Inc. All Rights Reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef _BSD_UNISTD_H_
|
|
#define _BSD_UNISTD_H_
|
|
|
|
|
|
#include_next <unistd.h>
|
|
#include <features.h>
|
|
|
|
|
|
#ifdef _DEFAULT_SOURCE
|
|
|
|
|
|
#define L_SET SEEK_SET
|
|
#define L_INCR SEEK_CUR
|
|
#define L_XTND SEEK_END
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void endusershell(void);
|
|
char *getpass(const char *prompt);
|
|
char *getusershell(void);
|
|
int issetugid(void);
|
|
void setusershell(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
|
|
#endif
|
|
|
|
|
|
#endif /* _BSD_UNISTD_H_ */
|