summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/popen.3 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add additional userland interfaces for setting close-on-exec on fdsguenther2014-08-311-2/+12
| | | | | | | | | | | | | when creating them: mkostemp(), mkostemps(), the 'e' mode letter for fopen(), freopen(), fdopen(), and popen(). The close-on-exec flag will be cleared by the action created by posix_spawn_file_actions_adddup2(). Also, add support for the C11 'x' mode letter for fopen() and freopen(), setting O_EXCL when possibly creating files. Note: this requires kernel support for pipe2() and dup3()! ok millert@
* Usually, you don't want macros in the .Nd line, so remove instances of .Tnschwarze2014-01-191-7/+4
| | | | | | marking up words that are not trademarks (ASCII, I/O, NFS, TCP, TELNET). While here, remove .Tn markup from the same words in the body of these pages, too.
* Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarzetedu2013-06-051-3/+3
|
* - do not call pthread_atfork(3) handlers when a multithreaded programkurt2008-04-041-2/+6
| | | | | | calls vfork(2). "untested, but looks OK" marc@ - document vfork(2), popen(3) and system(3) don't call atfork handlers in multithreaded programs. okay jmc@
* convert to new .Dd format;jmc2007-05-311-2/+2
|
* - sync prototypes and header file excerpts to realityjaredy2005-07-221-8/+8
| | | | | | | | | - many grammar, punctuation, macro, layout, spelling/typos, rewording, etc. fixes - avoid first person - sprinkle crossrefs where relevant help & ok jmc
* Be correct in our man pages when talking about NUL termination (that is,cloder2005-02-251-3/+3
| | | | | termination with '\0') vs. null termination. Input from krw@, jaredy@, jmc@. OK deraadt@
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* - correct macro usagejmc2003-05-301-11/+11
| | | | - section reorder
* mode -> type in description to match the synopsis.aaron2001-07-171-2/+2
|
* Various repairs, mostly to get rid of short lines.aaron2000-12-241-12/+7
|
* Consistify naming of RETURN VALUES section.aaron1999-08-311-2/+2
|
* After some constructive criticism from pjanzen@ and some e-mail tag:aaron1999-06-041-3/+3
| | | | | | | | | | | | | | | - only use the .Dv NULL form when referring explicitly to a function argument or return value - otherwise, use these forms: o non-null o null-terminated (hyphenated form for predicate adjective) o else, null terminated, or null terminate, whichever the case o null pointer, null byte, null string, etc. - may use NUL to refer to an ASCII NUL, but it doesn't need a .Tn macro In general, capitalizing the word "null" everywhere is unnecessary and makes the man pages harder to read. The above is consistent with popular programming texts (i.e., K&R, Stevens).
* use \-1, not -1, to change the meaning of `-' to minus sign from hyphen;aaron1999-06-031-2/+2
| | | | pjanzen@
* repairs; go back over some old files, because we should properly distinguishaaron1999-05-291-5/+3
| | | | | between NUL and NULL, i.e., don't use the .Dv (defined variable) macro when referring to an ASCII NUL
* repairsaaron1999-05-291-14/+15
|
* Cleanup xrefs under SEE ALSO. Specifically:alex1999-05-161-3/+3
| | | | | | | - Sort xrefs by section, and then alphabetically. - Add missing commas between xref items. - Remove commas from the last xref entry. - Remove duplicate entries.
* Fix RCS idstholo1996-08-191-3/+1
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* initial import of NetBSD treederaadt1995-10-181-0/+184