newlib-cygwin/winsup/cygwin/include
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
..
arpa * include/endian.h: Move definitions of __BIG_ENDIAN, __LITTLE_ENDIAN, 2011-02-11 12:42:30 +00:00
asm * include/endian.h: Move definitions of __BIG_ENDIAN, __LITTLE_ENDIAN, 2011-02-11 12:42:30 +00:00
attr
bits * include/endian.h: Move definitions of __BIG_ENDIAN, __LITTLE_ENDIAN, 2011-02-11 12:42:30 +00:00
cygwin * cygwin.din (getgrouplist): Export. 2011-10-28 09:26:42 +00:00
machine
net
netinet * include/endian.h: Move definitions of __BIG_ENDIAN, __LITTLE_ENDIAN, 2011-02-11 12:42:30 +00:00
sys * fhandler.h (fhandler_pipe::create_selectable): Remove optional argument, take 2011-10-30 04:50:36 +00:00
a.out.h
byteswap.h
dlfcn.h * autoload.cc (GetModuleHandleExW): Define. 2011-08-16 14:44:26 +00:00
elf.h
endian.h * include/endian.h: Move definitions of __BIG_ENDIAN, __LITTLE_ENDIAN, 2011-02-11 12:42:30 +00:00
err.h * include/err.h: Fix loss of semicolons in previous patch. 2011-02-02 15:14:46 +00:00
error.h * cygwin.din (error): Export. 2011-05-18 01:25:41 +00:00
exceptions.h
fcntl.h * include/fcntl.h (O_TTY_INIT): Define as 0. 2010-01-13 16:51:37 +00:00
features.h * include/features.h (__STDC_ISO_10646__): Move to newlib's 2011-01-27 11:55:51 +00:00
fenv.h * include/fenv.h: Add missing _FENV_H_ define. 2011-04-24 11:54:06 +00:00
fnmatch.h
fts.h Remove all traces of __CYGWIN_USE_BIG_TYPES__. 2010-02-26 09:36:21 +00:00
ftw.h Remove all traces of __CYGWIN_USE_BIG_TYPES__. 2010-02-26 09:36:21 +00:00
getopt.h
glob.h
icmp.h
ifaddrs.h
inttypes.h * include/inttypes.h: Change PTR definitions to int to align with the 2010-05-26 13:37:48 +00:00
io.h
lastlog.h
libgen.h
limits.h * sysconf.cc (sca): Return -1 for _SC_THREAD_ROBUST_PRIO_INHERIT, 2011-07-18 23:08:09 +00:00
mapi.h
memory.h
mntent.h * include/paths.h (_PATH_MNTTAB): Define. 2010-02-02 11:17:54 +00:00
monetary.h * Makefile.in (DLL_OFILES): Add nlsfunc.o and strfmon.o. 2010-01-22 22:31:31 +00:00
mqueue.h
netdb.h * include/netdb.h (gethostbyname2): Declare. 2011-07-10 13:22:48 +00:00
paths.h * include/paths.h (_PATH_MAILDIR): Define. 2011-08-21 03:22:30 +00:00
poll.h
pthread.h * cygwin.din (pthread_condattr_getclock): Export. 2011-07-21 09:39:22 +00:00
pty.h Make pty.h match recent glibc. 2009-12-26 06:20:56 +00:00
regex.h * include/regex.h: Include _ansi.h to avoid missing out on preprocessor 2010-04-27 15:18:14 +00:00
resolv.h
search.h
semaphore.h
stdint.h
sysexits.h
syslog.h
termio.h
tzfile.h
utmpx.h
wait.h