newlib/winsup/cygwin
Christopher Faylor 65a6152f18 * cygwin.din (ptsname_r): Export.
* fhandler.cc (fhandler_base::ptsname_r): Define.
* fhandler.h (fhandler_base::ptsname): Delete.
(fhandler_base::ptsname_r): Declare.
(fhandler_pty_master::ptsname_r): Declare.
* fhandler_tty.cc (fhandler_pty_master::ptsname): Delete.
(fhandler_pty_master::ptsname_r): New reentrant function derived from previous
ptsname.
* syscalls.cc (ptsname_r): Implement new function with functionality similar to
Linux.
(ptsname): Use ptsname_r () to fill out buf.
* include/cygwin/stdlib.h (ptsname_r): Declare.
* include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR to 255 to reflect
export of ptsname_r.
* pinfo.cc (pinfo::wait): Return bool rather than int.
* pinfo.h (info::wait): Ditto.
(pinfo::reattach): Define !defined(_SIGPROC_H) case for consistency.
* sigproc.cc (child_info_spawn::reattach_children): Use correct dwProcessId
rather than pid when duplicating handle.
2011-11-07 20:05:49 +00:00
..
config/i386
include * cygwin.din (ptsname_r): Export. 2011-11-07 20:05:49 +00:00
lib
libc
regex
acconfig.h
aclocal.m4
advapi32.cc
analyze_sigfe
assert.cc
autoload.cc
automode.c
binmode.c
ChangeLog * cygwin.din (ptsname_r): Export. 2011-11-07 20:05:49 +00:00
ChangeLog-1995
ChangeLog-1996
ChangeLog-1997
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
child_info.h
config.h.in
configure
configure.in
cpuid.h
crt0.c
ctype.cc
cxx.cc
cygerrno.h
cygheap_malloc.h
cygheap.cc
cygheap.h
cyglsa.h
cygmagic
cygmalloc.h
cygprops.h
cygserver_ipc.h
cygserver_msg.h
cygserver_sem.h
cygserver_setpwd.h
cygserver_shm.h
cygserver.h
cygthread.cc
cygthread.h
cygtls.cc
cygtls.h
cygwin_version.h
cygwin-cxx.h
cygwin-shilka
cygwin.din * cygwin.din (ptsname_r): Export. 2011-11-07 20:05:49 +00:00
cygwin.sc
cygxdr.cc
cygxdr.h
dcrt0.cc
debug.cc
debug.h
devices.cc
devices.h
devices.in
dir.cc
dlfcn.cc
dll_init.cc
dll_init.h
dll_init.sgml
dllfixdbg
dlmalloc.c
dlmalloc.h
dtable.cc
dtable.h
dtable.sgml
environ.cc
environ.h
errno.cc
exception.h
exceptions.cc
exec.cc
external.cc
external.sgml
fcntl.cc
fenv.cc
fhandler_clipboard.cc
fhandler_console.cc
fhandler_disk_file.cc
fhandler_dsp.cc
fhandler_fifo.cc
fhandler_floppy.cc
fhandler_mailslot.cc
fhandler_mem.cc
fhandler_netdrive.cc
fhandler_nodevice.cc
fhandler_proc.cc
fhandler_process.cc
fhandler_procnet.cc
fhandler_procsys.cc
fhandler_procsysvipc.cc
fhandler_random.cc
fhandler_raw.cc
fhandler_registry.cc
fhandler_serial.cc
fhandler_socket.cc
fhandler_tape.cc
fhandler_termios.cc
fhandler_tty.cc * cygwin.din (ptsname_r): Export. 2011-11-07 20:05:49 +00:00
fhandler_virtual.cc
fhandler_virtual.h
fhandler_windows.cc
fhandler_zero.cc
fhandler.cc * cygwin.din (ptsname_r): Export. 2011-11-07 20:05:49 +00:00
fhandler.h * cygwin.din (ptsname_r): Export. 2011-11-07 20:05:49 +00:00
flock.cc
fork.cc
gcrt0.c
gendef
gendevices
gentls_offsets
glob_pattern_p.cc
glob.cc
globals.cc
gmon.c
gmon.h
grp.cc
heap.cc
heap.h
hires.h
hookapi.cc
how-autoload-works.txt
how-cygheap-works.txt
how-cygtls-works.txt
how-fhandlers-work.txt
how-signals-work.txt
how-spawn-works.txt
how-startup-shutdown-works.txt
how-to-debug-cygwin.txt
how-vfork-works.txt
init.cc
ioctl.cc
ipc.cc
kernel32.cc
lc_era.h
lc_msg.h
libstdcxx_wrapper.cc
localtime.cc
lsearch.cc
Makefile.in
malloc_wrapper.cc
malloc.cc
mcount.c
miscfuncs.cc
miscfuncs.h
mkglobals_h
mkimport
mkstatic
mktemp.cc
mkvers.sh
mmap_helper.h
mmap.cc
mount.cc
mount.h
msg.cc
mtinfo.h
net.cc
netdb.cc
nfs.cc
nfs.h
nlsfuncs.cc
ntdll.h
ntea.cc
passwd.cc
path.cc
path.h
path.sgml
perprocess.h
pinfo.cc * cygwin.din (ptsname_r): Export. 2011-11-07 20:05:49 +00:00
pinfo.h * cygwin.din (ptsname_r): Export. 2011-11-07 20:05:49 +00:00
pipe.cc
poll.cc
posix_ipc.cc
posix.sgml
profil.c
profil.h
pseudo-reloc.cc
pthread.cc
pwdgrp.h
random.cc
registry.cc
registry.h
resource.cc
ROADMAP
scandir.cc
sched.cc
sec_acl.cc
sec_auth.cc
sec_helper.cc
security.cc
security.h
security.sgml
select.cc
select.h
sem.cc
setlsapwd.cc
shared_info.h
shared.cc
shm.cc
signal.cc
sigproc.cc * cygwin.din (ptsname_r): Export. 2011-11-07 20:05:49 +00:00
sigproc.h
smallprint.cc
sortdin
spawn.cc
speclib
spinlock.h
stackdump.sgml
strace.cc
strfuncs.cc
string.h
strsep.cc
strsig.cc
sync.cc
sync.h
syscalls.cc * cygwin.din (ptsname_r): Export. 2011-11-07 20:05:49 +00:00
sysconf.cc
syslog.cc
termios.cc
textmode.c
textreadmode.c
thread.cc
thread.h
timer.cc
times.cc
tls_pbuf.cc
tls_pbuf.h
tlsoffsets.h
tmpbuf.h
tty.cc
tty.h
tz_posixrules.h
uinfo.cc
uname.cc
wait.cc
wchar.h
winbase.h
wincap.cc
wincap.h
window.cc
winf.cc
winf.h
wininfo.h
winlean.h
winsup.h
winver.rc