summaryrefslogtreecommitdiff
path: root/ext/Fcntl
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-06-16 08:05:11 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-06-16 08:05:11 +0000
commit56ea57b7265de5c50cf8831e365e802384dfd70b (patch)
tree0f278cff3b3cb2b1c04ed3633251508fef39e2e1 /ext/Fcntl
parent117979aa18cb872a188e3bc9147938ba591860dc (diff)
downloadperl-56ea57b7265de5c50cf8831e365e802384dfd70b.tar.gz
Even more glibc O_ modes.
p4raw-id: //depot/perl@19797
Diffstat (limited to 'ext/Fcntl')
-rw-r--r--ext/Fcntl/Fcntl.pm3
-rw-r--r--ext/Fcntl/Makefile.PL17
2 files changed, 12 insertions, 8 deletions
diff --git a/ext/Fcntl/Fcntl.pm b/ext/Fcntl/Fcntl.pm
index 5f9d07ac5d..5da86f6232 100644
--- a/ext/Fcntl/Fcntl.pm
+++ b/ext/Fcntl/Fcntl.pm
@@ -114,13 +114,16 @@ $VERSION = "1.04";
O_DSYNC
O_EXCL
O_EXLOCK
+ O_IGNORE_CTTY
O_LARGEFILE
O_NDELAY
O_NOATIME
O_NOCTTY
O_NOFOLLOW
O_NOINHERIT
+ O_NOLINK
O_NONBLOCK
+ O_NOTRANS
O_RANDOM
O_RAW
O_RDONLY
diff --git a/ext/Fcntl/Makefile.PL b/ext/Fcntl/Makefile.PL
index 8422efc411..102d1b6c85 100644
--- a/ext/Fcntl/Makefile.PL
+++ b/ext/Fcntl/Makefile.PL
@@ -19,14 +19,15 @@ my @names = (qw(
F_UNLCK F_UNSHARE F_WRACC F_WRDNY F_WRLCK O_ACCMODE
O_ALIAS O_APPEND O_ASYNC O_BINARY O_CREAT O_DEFER
O_DIRECT O_DIRECTORY O_DSYNC O_EXCL O_EXLOCK
- O_LARGEFILE O_NDELAY O_NOATIME O_NOCTTY O_NOFOLLOW
- O_NOINHERIT O_NONBLOCK O_RANDOM O_RAW O_RDONLY O_RDWR
- O_RSRC O_RSYNC O_SEQUENTIAL O_SHLOCK O_SYNC O_TEMPORARY
- O_TEXT O_TRUNC O_WRONLY S_ENFMT S_IEXEC S_IFBLK S_IFCHR
- S_IFDIR S_IFIFO S_IFLNK S_IFREG S_IFSOCK S_IFWHT
- S_IREAD S_IRGRP S_IROTH S_IRUSR S_IRWXG S_IRWXO S_IRWXU
- S_ISGID S_ISTXT S_ISUID S_ISVTX S_IWGRP S_IWOTH
- S_IWRITE S_IWUSR S_IXGRP S_IXOTH S_IXUSR),
+ O_IGNORE_CTTY O_LARGEFILE O_NDELAY O_NOATIME O_NOCTTY
+ O_NOFOLLOW O_NOINHERIT O_NOLINK O_NONBLOCK O_NOTRANS
+ O_RANDOM O_RAW O_RDONLY O_RDWR O_RSRC O_RSYNC
+ O_SEQUENTIAL O_SHLOCK O_SYNC O_TEMPORARY O_TEXT O_TRUNC
+ O_WRONLY S_ENFMT S_IEXEC S_IFBLK S_IFCHR S_IFDIR
+ S_IFIFO S_IFLNK S_IFREG S_IFSOCK S_IFWHT S_IREAD
+ S_IRGRP S_IROTH S_IRUSR S_IRWXG S_IRWXO S_IRWXU S_ISGID
+ S_ISTXT S_ISUID S_ISVTX S_IWGRP S_IWOTH S_IWRITE
+ S_IWUSR S_IXGRP S_IXOTH S_IXUSR),
{name=>"LOCK_SH", default=>["IV", "1"]},
{name=>"LOCK_EX", default=>["IV", "2"]},
{name=>"LOCK_NB", default=>["IV", "4"]},