History log of /openbsd-current/lib/libc/gen/popen.3
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.20 05-Feb-2016 espie

be more forceful about not using these.
improvements sthen@, jmc@. okay millert@, jca@ jmc@


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.19 31-Aug-2014 guenther

Add additional userland interfaces for setting close-on-exec on fds
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@


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.18 19-Jan-2014 schwarze

Usually, you don't want macros in the .Nd line, so remove instances of .Tn
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.


Revision tags: OPENBSD_5_4_BASE
# 1.17 05-Jun-2013 tedu

Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze


Revision tags: OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.16 04-Apr-2008 kurt

- do not call pthread_atfork(3) handlers when a multithreaded program
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@


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE
# 1.15 31-May-2007 jmc

convert to new .Dd format;


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.14 22-Jul-2005 jaredy

- sync prototypes and header file excerpts to reality
- many grammar, punctuation, macro, layout, spelling/typos,
rewording, etc. fixes
- avoid first person
- sprinkle crossrefs where relevant

help & ok jmc


Revision tags: OPENBSD_3_7_BASE
# 1.13 25-Feb-2005 cloder

Be correct in our man pages when talking about NUL termination (that is,
termination with '\0') vs. null termination.
Input from krw@, jaredy@, jmc@. OK deraadt@


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE
# 1.12 02-Jun-2003 millert

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


# 1.11 30-May-2003 jmc

- correct macro usage
- section reorder


Revision tags: OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.10 17-Jul-2001 aaron

mode -> type in description to match the synopsis.


Revision tags: OPENBSD_2_9_BASE
# 1.9 24-Dec-2000 aaron

Various repairs, mostly to get rid of short lines.


Revision tags: OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE
# 1.8 31-Aug-1999 aaron

Consistify naming of RETURN VALUES section.


# 1.7 04-Jun-1999 aaron

After some constructive criticism from pjanzen@ and some e-mail tag:

- 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).


# 1.6 03-Jun-1999 aaron

use \-1, not -1, to change the meaning of `-' to minus sign from hyphen;
pjanzen@


# 1.5 29-May-1999 aaron

repairs; go back over some old files, because we should properly distinguish
between NUL and NULL, i.e., don't use the .Dv (defined variable) macro when
referring to an ASCII NUL


# 1.4 29-May-1999 aaron

repairs


# 1.3 16-May-1999 alex

Cleanup xrefs under SEE ALSO. Specifically:

- Sort xrefs by section, and then alphabetically.
- Add missing commas between xref items.
- Remove commas from the last xref entry.
- Remove duplicate entries.


Revision tags: OPENBSD_2_0_BASE OPENBSD_2_1_BASE OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE
# 1.2 19-Aug-1996 tholo

Fix RCS ids
Make sure everything uses {SYS,}LIBC_SCCS properly


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision