aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-08-20 17:39:48 +0000
committerUlrich Drepper <drepper@redhat.com>1998-08-20 17:39:48 +0000
commit072901a1098e2de00d852a85d8c53025a3fb9073 (patch)
tree95df08a12f7a3607b3f4425f257528a98dfb1d22 /sysdeps
parentcb759cab5a7248e65306a89eb2702b4b045974b5 (diff)
downloadglibc-072901a1098e2de00d852a85d8c53025a3fb9073.tar
glibc-072901a1098e2de00d852a85d8c53025a3fb9073.tar.gz
glibc-072901a1098e2de00d852a85d8c53025a3fb9073.tar.bz2
glibc-072901a1098e2de00d852a85d8c53025a3fb9073.zip
Remove O_READ and O_WRITE.
Add F_SETSIG and F_GETSIG.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/mips/bits/fcntl.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/sysdeps/unix/sysv/linux/mips/bits/fcntl.h b/sysdeps/unix/sysv/linux/mips/bits/fcntl.h
index 09d6fb6d4c..0a0d9c9d00 100644
--- a/sysdeps/unix/sysv/linux/mips/bits/fcntl.h
+++ b/sysdeps/unix/sysv/linux/mips/bits/fcntl.h
@@ -1,5 +1,5 @@
/* O_*, F_*, FD_* bit values for Linux.
- Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -24,11 +24,6 @@
#include <sys/types.h>
-/* In GNU, read and write are bits (unlike BSD). */
-#ifdef __USE_GNU
-# define O_READ O_RDONLY /* Open for reading. */
-# define O_WRITE O_WRONLY /* Open for writing. */
-#endif
/* open/fcntl - O_SYNC is only implemented on blocks devices and on files
located on an ext2 file system */
#define O_ACCMODE 0x0003
@@ -66,8 +61,13 @@
#define F_SETLKW64 7 /* Set record locking info (blocking). */
#ifdef __USE_BSD
-# define F_SETOWN 5 /* Get owner of socket (receiver of SIGIO). */
-# define F_GETOWN 6 /* Set owner of socket (receiver of SIGIO). */
+# define F_SETOWN 24 /* Get owner of socket (receiver of SIGIO). */
+# define F_GETOWN 23 /* Set owner of socket (receiver of SIGIO). */
+#endif
+
+#ifdef __USE_GNU
+# define F_SETSIG 10 /* Set number of signal to be sent. */
+# define F_GETSIG 11 /* Get number of signal to be sent. */
#endif
/* for F_[GET|SET]FL */