popen.3 (41a3e3b022ec4c704d75058108665c8e447db15a) popen.3 (bee0365a4a6b5a320ed7734987befbf1e7d30bf2)
1.\" Copyright (c) 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 51 unchanged lines hidden (view full) ---

60.Fn popen
61was implemented with a unidirectional pipe;
62hence many implementations of
63.Fn popen
64only allow the
65.Fa type
66argument to specify reading or writing, not both.
67Since
1.\" Copyright (c) 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 51 unchanged lines hidden (view full) ---

60.Fn popen
61was implemented with a unidirectional pipe;
62hence many implementations of
63.Fn popen
64only allow the
65.Fa type
66argument to specify reading or writing, not both.
67Since
68.Nm
68.Fn popen
69is now implemented using a bidirectional pipe, the
70.Fa type
71argument may request a bidirectional data flow.
72The
73.Fa type
74argument is a pointer to a null-terminated string
75which must be
76.Ql r

--- 123 unchanged lines hidden ---
69is now implemented using a bidirectional pipe, the
70.Fa type
71argument may request a bidirectional data flow.
72The
73.Fa type
74argument is a pointer to a null-terminated string
75which must be
76.Ql r

--- 123 unchanged lines hidden ---