Corinna Vinschen
ad1a102dd6
* libc/include/sys/_default_fcntl.h (LOCK_SH): Define.
...
(LOCK_EX): Likewise.
(LOCK_NB): Likewise.
(LOCK_UN): Likewise.
(flock): Declare.
2014-01-17 10:57:54 +00:00
Jeff Johnston
439f4e7a87
2014-01-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* libc/include/sys/_default_fcntl.h (AT_FDCWD): Define according
to POSIX.
(AT_EACCESS): Likewise.
(AT_SYMLINK_NOFOLLOW): Likewise.
(AT_SYMLINK_FOLLOW): Likewise.
(AT_REMOVEDIR): Likewise.
(openat): Declare according to POSIX.
* libc/include/stdio.h (renameat): Likewise.
* libc/include/sys/stat.h (fchmodat): Likewise.
(fstatat): Likewise.
(mkdirat): Likewise.
(mkfifoat): Likewise.
(mknodat): Likewise.
(utimensat): Likewise.
(futimens): Likewise.
* libc/include/sys/unistd.h (faccessat): Likewise.
(fchownat): Likewise.
(linkat): Likewise.
(readlinkat): Likewise.
(symlinkat): Likewise.
(unlinkat): Likewise.
2014-01-06 20:59:38 +00:00
Corinna Vinschen
37671b5114
* libc/include/sys/_default_fcntl.h (O_CLOEXEC): Define as _FNOINHERIT.
...
(F_DUPFD_CLOEXEC): Define for Cygwin.
* libc/include/sys/unistd.h (dup3): Define for Cygwin.
(pipe2): Ditto.
2010-01-14 18:49:13 +00:00
Eric Blake
ad0ae5d83a
Fix some *at declarations.
...
* libc/include/stdio.h (symlinkat): Move this...
* libc/include/sys/_default_fcntl.h (unlinkat): ...and this...
* libc/include/sys/unistd.h (symlinkat, unlinkat): ...here, to
match POSIX.
2009-12-08 13:50:41 +00:00
Corinna Vinschen
1fc3031588
* libc/include/sys/_default_fcntl.h: Include <sys/time.h> on Cygwin.
2008-05-23 12:33:50 +00:00
Corinna Vinschen
ca48eb65e9
* libc/include/stdio.h (renameat): Declare for Cygwin.
...
(symlinkat): Ditto.
* libc/include/sys/unistd.h (readlink): Align declaration to POSIX.
(faccessat): Declare for Cygwin.
(fchownat): Ditto.
(linkat): Ditto.
(readlinkat): Ditto.
* libc/include/sys/_default_fcntl.h (AT_FDCWD): Define for Cygwin.
(AT_EACCESS): Ditto.
(AT_SYMLINK_NOFOLLOW): Ditto.
(AT_SYMLINK_FOLLOW): Ditto.
(AT_REMOVEDIR): Ditto.
(futimesat): Declare for Cygwin.
(openat): Ditto.
(unlinkat): Ditto.
* libc/include/sys/stat.h (fchmodat): Ditto.
(fstatat): Ditto.
(mkdirat): Ditto.
(mkfifoat): Ditto.
(mknodat): Ditto.
2008-04-23 11:13:24 +00:00
Jeff Johnston
7f9b49e427
2007-11-15 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/sys/_default_fcntl.h: New header file that
is the default version of sys/fcntl.h.
* libc/include/sys/fcntl.h: Changed to simply include
sys/_default_fcntl.h.
* libc/sys/arm/sys/fcntl.h: New file that includes
sys/_default_fcntl.h and defines O_BINARY.
2007-12-19 18:49:17 +00:00