#
302408 |
|
07-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
250827 |
|
20-May-2013 |
jilles |
popen(): Add 'e' mode character to set close-on-exec on the new fd.
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+".
|
#
165903 |
|
08-Jan-2007 |
imp |
Per Regents of the University of Calfornia letter, remove advertising clause.
# If I've done so improperly on a file, please let me know.
|
#
140505 |
|
20-Jan-2005 |
ru |
Sort sections.
|
#
116021 |
|
08-Jun-2003 |
charnier |
Add or correct section number in .Xr. Use .Vt or .Fn instead of .Xr when needed
|
#
108582 |
|
03-Jan-2003 |
tjr |
popen() is a function, not an argument.
|
#
84306 |
|
01-Oct-2001 |
ru |
mdoc(7) police: Use the new .In macro for #include statements.
|
#
68854 |
|
17-Nov-2000 |
ru |
mdoc(7) police: use certified section headers wherever possible.
|
#
68575 |
|
10-Nov-2000 |
ru |
Avoid use of direct troff requests in mdoc(7) manual pages.
|
#
59460 |
|
21-Apr-2000 |
phantom |
Introduce ".Lb" macro to libc manpages.
More libraries manpages updates following.
|
#
50476 |
|
27-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
#
48794 |
|
12-Jul-1999 |
nik |
Add $Id$, to make it simpler for members of the translation teams to 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
|
#
41025 |
|
09-Nov-1998 |
jkoshy |
Fix a .Nm -> .Fn fix that was missed in the previous commit.
Pointed-out-by: Bruce Evans
|
#
40952 |
|
06-Nov-1998 |
jkoshy |
Update manual page to reflect changes in rev 1.12 of "src/lib/libc/gen/popen.c" --- popen() in the child now closes any copies of popen()'ed descriptors in the parent.
|
#
33482 |
|
17-Feb-1998 |
jkh |
Mention when bidirectional features first appeared.
|
#
23735 |
|
11-Mar-1997 |
bde |
Document that popen() uses a bidirectional pipe (in FreeBSD) and not a socket pair (as in Lite2).
|
#
23666 |
|
11-Mar-1997 |
peter |
Merge from Lite2 (YAMFL2? :-) 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.
|
#
21907 |
|
20-Jan-1997 |
wosch |
Sort cross references.
|
#
14855 |
|
27-Mar-1996 |
mpp |
Added missing section numbers to a bunch of .Xr macros, or converted them into .Fn macros where appropriate. Also fixed up some minor formatting problems.
|
#
1574 |
|
27-May-1994 |
rgrimes |
This commit was generated by cvs2svn to compensate for changes in r1573, which included commits to RCS files with non-trunk default branches.
|
#
1573 |
|
27-May-1994 |
rgrimes |
BSD 4.4 Lite Lib Sources
|