Changeset View
Changeset View
Standalone View
Standalone View
head/include/unistd.h
Show First 20 Lines • Show All 378 Lines • ▼ Show 20 Lines | |||||
extern char *optarg; /* getopt(3) external variables */ | extern char *optarg; /* getopt(3) external variables */ | ||||
extern int optind, opterr, optopt; | extern int optind, opterr, optopt; | ||||
#endif /* _GETOPT_DECLARED */ | #endif /* _GETOPT_DECLARED */ | ||||
#endif | #endif | ||||
/* ISO/IEC 9945-1: 1996 */ | /* ISO/IEC 9945-1: 1996 */ | ||||
#if __POSIX_VISIBLE >= 199506 || __XSI_VISIBLE | #if __POSIX_VISIBLE >= 199506 || __XSI_VISIBLE | ||||
int fsync(int); | int fsync(int); | ||||
int fdatasync(int); | |||||
/* | /* | ||||
* ftruncate() was in the POSIX Realtime Extension (it's used for shared | * ftruncate() was in the POSIX Realtime Extension (it's used for shared | ||||
* memory), but truncate() was not. | * memory), but truncate() was not. | ||||
*/ | */ | ||||
#ifndef _FTRUNCATE_DECLARED | #ifndef _FTRUNCATE_DECLARED | ||||
#define _FTRUNCATE_DECLARED | #define _FTRUNCATE_DECLARED | ||||
int ftruncate(int, off_t); | int ftruncate(int, off_t); | ||||
▲ Show 20 Lines • Show All 205 Lines • Show Last 20 Lines |