diff options
author | Eric Blake <eblake@redhat.com> | 2009-08-18 20:43:21 +0400 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2009-08-18 20:43:21 +0400 |
commit | a0511609626a3eabf8fa4a2b7769b9096ae4caa6 (patch) | |
tree | b5adebbe7d765f4a16d177b2ef4ddcc118b48707 /newlib/libc/posix/posix.tex | |
parent | 56dbf993295cf7189bb50a9cbbf5ac3b14694103 (diff) |
Improve popen compatibility with glibc.
* libc/posix/popen.c (popen): The 2006-08-22 change to use
FD_CLOEXEC disagrees with other implementations; instead, use
pidlist to work even when fcntl is not available. Meanwhile,
support the 'e' modifier to set CLOEXEC, as in glibc. Drop
cygwin-specific code, now that cygwin has its own version.
* libc/posix/Makefile.am (CHEWOUT_FILES): Document popen.
* libc/posix/posix.tex: New file.
Diffstat (limited to 'newlib/libc/posix/posix.tex')
-rw-r--r-- | newlib/libc/posix/posix.tex | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/newlib/libc/posix/posix.tex b/newlib/libc/posix/posix.tex new file mode 100644 index 000000000..4c85fce5b --- /dev/null +++ b/newlib/libc/posix/posix.tex @@ -0,0 +1,13 @@ +@node Posix +@chapter Posix Functions + +This chapter groups several utility functions specified by POSIX, but +not by C. Each function documents which header to use. + +@menu +* popen:: Create a stream tied to a child process +@end menu + +@page +@include posix/popen.def + |