newlib-cygwin/winsup/cygwin/include/sys
Christopher Faylor cd071d1363 * fhandler.h (fhandler_pipe::create_selectable): Remove optional argument, take
an options argument for CreateNamedPipe/CreateFile.  Change handle arguments to
expect pointers.
(fhandler_fifo::fifo_state): Delete.
(fhandler_fifo::dummy_client): Ditto.
(fhandler_fifo::open_nonserver): Ditto.
(fhandler_fifo::wait_state): Ditto.
(fhandler_fifo::raw_write): Ditto.
(fhandler_fifo::read_ready): New field.
(fhandler_fifo::write_ready): Ditto.
(fhandler_fifo::wait): Modify argument.
(fhandler_fifo::fifo_name): Add a new argument.
(fhandler_fifo::fixup_after_fork): New function.
* fhandler_fifo.cc (fhandler_fifo::fhandler_fifo): Remove initialization of
expunged elements.  Initialize new handles to NULL.
(fhandler_fifo::open_nonserver): Delete.
(fnevent): New macro for creating a named event.
(fnpipe): New macro for creating a unique named pipe name.
(create_pipe): New macro for simplification of named pipe creation.
(fhandler_fifo::fifo_name): Use new argument when creating a shared name.
(fhandler_fifo::open): Rewrite.  Use events to synchronize.
(pure_debug_printf): New macro, active only when DEBUGGING.
(fhandler_fifo::wait): Rewrite to wait for new fifo events which are supplied
as a parameter.
(fhandler_fifo::raw_read): Rewrite to use handle mechanism to detect
client-side disconnect.
(fhandler_fifo::raw_write): Delete.
(fhandler_fifo::close): Remove accommodations for expunged fields.  Close event
handles.
(fhandler_fifo::dup): Remove accommodations for expunged fields.  Duplicate
event handles.
(fhandler_fifo::fixup_after_fork): New function.  Perform fixups on event
handles.
(fhandler_fifo::set_close_on_exec): Remove accommodations for expunged fields.
Set inheritance for new handle fields.
* miscfuncs.cc (CreatePipeOverlapped): Accommodate changes in
fhandler_pipe::create_selectable.
* tty.cc (tty::not_allocated): Ditto.
* pipe.cc (fhandler_pipe::create): Ditto.
(fhandler_pipe::create_selectable): Accept an extra open_mode argument.  Pass
arguments by reference and allow opening one end of the pipe at a time.
* sys/strace.h (debug_only_printf): Define new macro which calls debug_printf
only when DEBUGGING is defined.
2011-10-30 04:50:36 +00:00
..
acl.h
copying.dj
cygwin.h * include/sys/cygwin.h (cygwin_getinfo_types): Define values 2011-10-07 13:49:17 +00:00
dirent.h * include/sys/dirent.h (d_fileno): Define as d_ino. 2010-08-06 18:55:25 +00:00
elf32.h
elf64.h
elf_common.h
elf_generic.h
file.h
ioctl.h
ipc.h
kd.h
lock.h
mman.h * cygwin.din (madvise): Export posix_madvise as madvise. 2011-01-12 13:01:43 +00:00
mount.h * mount.cc (struct opt): Add "bind" option. 2010-08-11 10:58:06 +00:00
msg.h
mtio.h
param.h * include/sys/param.h (NGROUPS): Redefine as NGROUPS_MAX. 2011-07-01 12:45:25 +00:00
poll.h * include/sys/poll.h: Include signal.h to get definition of sigset_t. 2011-04-21 07:18:42 +00:00
procfs.h
queue.h
resource.h
select.h * include/sys/select.h: Guard definitions with __USE_W32_SOCKETS as 2009-05-08 10:54:58 +00:00
sem.h
shm.h
smallprint.h
socket.h * cygwin.din (accept4): Export. 2010-01-15 15:40:05 +00:00
soundcard.h
statfs.h
statvfs.h
stdio.h * include/sys/stdio.h: Remove _GNU_SOURCE guard around getline 2010-06-07 09:16:11 +00:00
strace.h * fhandler.h (fhandler_pipe::create_selectable): Remove optional argument, take 2011-10-30 04:50:36 +00:00
sysinfo.h * sysconf.cc (sysinfo): New function. 2011-05-06 18:53:21 +00:00
syslimits.h
syslog.h
sysmacros.h * include/cygwin/types.h: Move #include <sys/sysmacros.h> to 2011-04-05 00:53:17 +00:00
sysproto.h
termio.h
termios.h * cygwin.din: Remove some _tc* exports. Add tcgetsid(). 2011-10-11 23:20:38 +00:00
ttychars.h
uio.h
un.h * include/sys/un.h: #include <string.h> for strlen. 2009-03-23 08:45:18 +00:00
utime.h
utmp.h
utsname.h
vfs.h
wait.h 2011-10-06 Christian Franke <franke@computer.org> 2011-10-06 16:02:37 +00:00
xattr.h * include/sys/xattr.h: New file. 2011-03-29 08:03:35 +00:00