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 22extern "C" { 23#endif 24 25void endusershell(void); 26char *getpass(const char *prompt); 27char *getusershell(void); 28int issetugid(void); 29void setusershell(void); 30 31int getentropy(void *buf, size_t buflen); 32 33#ifdef __cplusplus 34} 35#endif 36 37 38#endif 39 40 41#endif /* _BSD_UNISTD_H_ */ 42