newlib-cygwin/winsup/cygwin/include/sys
Christopher Faylor bd4ec49671 * cygwin.din: Export _getmode and getmode to allow querying of binary state of
an fd.
* external.cc (cygwin_internal): Add handling of perfile_table setting.
* fhandler.cc (perfile_table): New global.
(fhandler_base::get_default_fmode): New method to return a file's default mode
based on its name.
(fhandler_base::open): Use get_default_mode method to determine a file's mode.
Record file mode in file flags.
* fhandler.h (fhandler_base): Declare get_default_fmode
* syscalls.cc (getmode): New function.
* sys/cygwin.h (__cygwin_perfile): New structure.
(cygwin_getinfo_types): Move outside of WINVER conditional.
(per_process): Move inside of WINVER conditional.
2000-07-09 05:29:51 +00:00
..
acl.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
cdefs.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
copying.dj import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
cygwin.h * cygwin.din: Export _getmode and getmode to allow querying of binary state of 2000-07-09 05:29:51 +00:00
file.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
ioctl.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
mman.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
mount.h * exceptions.cc (interruptible): Allocate slightly more space for directory 2000-04-26 05:13:32 +00:00
mtio.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
poll.h * poll.cc: New file. Implement `poll' system call. 2000-07-04 16:58:49 +00:00
resource.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
select.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
smallprint.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
socket.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
strace.h Throughout use strace class in place of individual functions and variables. 2000-03-07 05:33:09 +00:00
syslog.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
sysmacros.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
termio.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
termios.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
ttychars.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
uio.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
un.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
utsname.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
vfs.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
wait.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00