aboutsummaryrefslogtreecommitdiff
path: root/bits/fcntl.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-04-30 07:17:24 +0000
committerUlrich Drepper <drepper@redhat.com>2000-04-30 07:17:24 +0000
commit01ed6c51892bc7d2e46266bc7bad06c9fffd4aa3 (patch)
treea74fd081a600507426a1cf770013150f47812440 /bits/fcntl.h
parentadcf0e4a330995739a4298abd33588e44bd329a1 (diff)
downloadglibc-01ed6c51892bc7d2e46266bc7bad06c9fffd4aa3.zip
glibc-01ed6c51892bc7d2e46266bc7bad06c9fffd4aa3.tar.gz
glibc-01ed6c51892bc7d2e46266bc7bad06c9fffd4aa3.tar.bz2
Update.
2000-04-30 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/bits/fcntl.h (F_SETOWN, F_GETOWN): Make available if __USE_XOPEN2K. * sysdeps/mach/hurd/bits/fcntl.h: Likewise. * sysdeps/unix/common/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/aix/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise.
Diffstat (limited to 'bits/fcntl.h')
-rw-r--r--bits/fcntl.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/bits/fcntl.h b/bits/fcntl.h
index 2984100..444cfb0 100644
--- a/bits/fcntl.h
+++ b/bits/fcntl.h
@@ -20,7 +20,7 @@
/* These values should be changed as appropriate for your system. */
#ifndef _FCNTL_H
-#error "Never use <bits/fcntl.h> directly; include <fcntl.h> instead."
+# error "Never use <bits/fcntl.h> directly; include <fcntl.h> instead."
#endif
@@ -41,7 +41,7 @@
#define O_NONBLOCK 0x0004 /* Non-blocking I/O. */
#ifdef __USE_BSD
-#define O_NDELAY O_NONBLOCK
+# define O_NDELAY O_NONBLOCK
#endif
/* Mask for file access modes. This is system-dependent in case
@@ -54,9 +54,9 @@
#define F_SETFD 2 /* Set file descriptor flags. */
#define F_GETFL 3 /* Get file status flags. */
#define F_SETFL 4 /* Set file status flags. */
-#ifdef __USE_BSD
-#define F_GETOWN 5 /* Get owner (receiver of SIGIO). */
-#define F_SETOWN 6 /* Set owner (receiver of SIGIO). */
+#if defined __USE_BSD || defined __USE_XOPEN2K
+# define F_GETOWN 5 /* Get owner (receiver of SIGIO). */
+# define F_SETOWN 6 /* Set owner (receiver of SIGIO). */
#endif
#define F_GETLK 7 /* Get record locking info. */
#define F_SETLK 8 /* Set record locking info. */