summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/popen.3
Commit message (Collapse)AuthorAgeFilesLines
* popen(): Add 'e' mode character to set close-on-exec on the new fd.jilles2013-05-201-1/+6
| | | | | | | | | | | | | | If 'e' is used, the kernel must support the recently added pipe2() system call. The use of pipe2() with O_CLOEXEC also fixes race conditions between concurrent popen() calls from different threads, even if the close-on-exec flag on the fd of the returned FILE is later cleared (because popen() closes all file descriptors from earlier popen() calls in the child process). Therefore, this approach should be used in all cases when pipe2() can be assumed present. The old version of popen() rejects "re" and "we" but treats "r+e" like "r+".
* Per Regents of the University of Calfornia letter, remove advertisingimp2007-01-091-4/+0
| | | | | | clause. # If I've done so improperly on a file, please let me know.
* Sort sections.ru2005-01-201-10/+10
|
* Add or correct section number in .Xr. Use .Vt or .Fncharnier2003-06-081-2/+2
| | | | instead of .Xr when needed
* popen() is a function, not an argument.tjr2003-01-031-1/+1
|
* mdoc(7) police: Use the new .In macro for #include statements.ru2001-10-011-1/+1
|
* mdoc(7) police: use certified section headers wherever possible.ru2000-11-171-1/+1
|
* Avoid use of direct troff requests in mdoc(7) manual pages.ru2000-11-101-3/+2
|
* Introduce ".Lb" macro to libc manpages.phantom2000-04-211-0/+2
| | | | More libraries manpages updates following.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+1
| | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* Fix a .Nm -> .Fn fix that was missed in the previous commit.jkoshy1998-11-091-1/+1
| | | | Pointed-out-by: Bruce Evans
* Update manual page to reflect changes in rev 1.12 ofjkoshy1998-11-061-3/+6
| | | | | "src/lib/libc/gen/popen.c" --- popen() in the child now closes any copies of popen()'ed descriptors in the parent.
* Mention when bidirectional features first appeared.jkh1998-02-171-0/+4
|
* Document that popen() uses a bidirectional pipe (in FreeBSD) and not abde1997-03-111-7/+5
| | | | socket pair (as in Lite2).
* Merge from Lite2 (YAMFL2? :-)peter1997-03-111-17/+29
| | | | | | Document that popen() can now create bidirectional pipes and handles. Note that this needs to be updated since we have a native bidirectional pipe and don't use socketpair() here.
* Sort cross references.wosch1997-01-201-2/+2
|
* Added missing section numbers to a bunch of .Xr macros, ormpp1996-03-271-2/+2
| | | | | converted them into .Fn macros where appropriate. Also fixed up some minor formatting problems.
* BSD 4.4 Lite Lib Sourcesrgrimes1994-05-271-0/+182
OpenPOWER on IntegriCloud