mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-18 02:19:39 +00:00
Move the _POSIX_VERSION constant from <unistd.h> to <sys/unistd.h>, so
that it can be used in-kernel for a sysctl.
This commit is contained in:
parent
af103111f0
commit
d3d0ea18c2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=105045
@ -143,8 +143,7 @@ typedef __uid_t_ uid_t;
|
||||
#define _XOPEN_UNIX -1
|
||||
#endif
|
||||
|
||||
/* Define the versions we target for compliance. */
|
||||
#define _POSIX_VERSION 200112L
|
||||
/* Define the POSIX.2 version we target for compliance. */
|
||||
#define _POSIX2_VERSION 199212L
|
||||
|
||||
/*
|
||||
|
@ -95,6 +95,9 @@
|
||||
#define _POSIX_SAVED_IDS 1 /* saved set-user-ID and set-group-ID */
|
||||
#endif
|
||||
|
||||
/* Define the POSIX.1 version we target for compliance. */
|
||||
#define _POSIX_VERSION 200112L
|
||||
|
||||
/* access function */
|
||||
#define F_OK 0 /* test for existence of file */
|
||||
#define X_OK 0x01 /* test for execute or search permission */
|
||||
|
Loading…
Reference in New Issue
Block a user