popen.3 (726b61ab5fe782694f2bb648dafb316e1857335b) popen.3 (251c176f415c9dc57b7c8c063aec4208bfc2efa6)
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.

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

118streams are fully buffered by default.
119.Pp
120The
121.Fn pclose
122function waits for the associated process to terminate
123and returns the exit status of the command
124as returned by
125.Fn wait4 .
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.

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

118streams are fully buffered by default.
119.Pp
120The
121.Fn pclose
122function waits for the associated process to terminate
123and returns the exit status of the command
124as returned by
125.Fn wait4 .
126.Sh RETURN VALUE
126.Sh RETURN VALUES
127The
128.Fn popen
129function returns
130.Dv NULL
131if the
132.Xr fork 2
133or
134.Xr pipe 2

--- 67 unchanged lines hidden ---
127The
128.Fn popen
129function returns
130.Dv NULL
131if the
132.Xr fork 2
133or
134.Xr pipe 2

--- 67 unchanged lines hidden ---