/* * - standard UNIX stuffs * * This header is a part of the FENIX C Library and is free software. * You can redistribute and/or modify it subject to the terms of the * Clumsy Wolf Public License v4. For more details, see the file COPYING. * * The FENIX C Library is distributed WITH NO WARRANTY WHATSOEVER. See * The CWPL for more details. */ #ifndef _UNISTD_H #define _UNISTD_H #ifndef _POSIX_VERSION #define _POSIX_VERSION 200809L #endif #ifndef _POSIX2_VERSION #define _POSIX2_VERSION 200809L #endif #ifndef _XOPEN_VERSION /* we having this (define _XOPEN_VERSION 700) or not? */ #endif /* Compilation should use 64-bit long, pointers, and off_t, but I don't know if a 32-bit PC will support it at runtime */ #ifndef _POSIX_V7_LP64_OFF64 #define _POSIX_V7_LP64_OFF64 0 #endif #define R_OK 01 #define W_OK 02 #define X_OK 04 #define F_OK 08 #endif