FENIX_libc/include/unistd.h

67 lines
1.5 KiB
C
Raw Normal View History

2020-11-18 09:41:58 +00:00
/*
* <unistd.h> - 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
2020-12-01 23:33:11 +00:00
#define _XOPEN_VERSION 700
2020-11-18 09:41:58 +00:00
#endif
2020-12-21 19:45:19 +00:00
#define _POSIX_ASYNCHRONOUS_IO 200809L
#define _POSIX_BARRIERS 200809L
#define _POSIX_CHOWN_RESTRICTED 0
#define _POSIX_CLOCK_SELECTION 200809L
#define _POSIX_JOB_CONTROL 200809L
#define _POSIX_MAPPED_FILES 200809L
#define _POSIX_MEMORY_PROTECTION 200809L
#define _POSIX_NO_TRUNC 0
#define _POSIX_READER_WRITER_LOCKS 200809L
#define _POSIX_REALTIME_SIGNALS 200809L
#define _POSIX_REGEXP 200809L
#define _POSIX_SAVED_IDS 200809L
#define _POSIX_SEMAPHORES 200809L
#define _POSIX_SHELL 200809L
#define _POSIX_SPIN_LOCKS 200809L
#define _POSIX_THREAD_SAFE_FUNCTIONS 200809L
#define _POSIX_THREADS 200809L
#define _POSIX_TIMEOUTS 200809L
#define _POSIX_TIMERS 200809L
#include <unistd_ilp.h>
2020-11-18 09:41:58 +00:00
2020-12-22 01:34:17 +00:00
#define _POSIX2_C_BIND 200809L
#define _XOPEN_ENH_I18N 700
#define _XOPEN_SHM 700
2020-11-18 09:41:58 +00:00
#define R_OK 01
#define W_OK 02
#define X_OK 04
2020-12-22 01:34:17 +00:00
#define F_OK 010
#define _CS_PATH "/bin:/sbin:/usr/bin:/usr/sbin"
#define F_LOCK 01
#define F_TEST 02
#define F_TLOCK 03
#define F_ULOCK 04
2020-11-18 09:41:58 +00:00
#endif