getpid.2 (17906) | getpid.2 (20097) |
---|---|
1.\" Copyright (c) 1980, 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. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)getpid.2 8.1 (Berkeley) 6/4/93 | 1.\" Copyright (c) 1980, 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. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)getpid.2 8.1 (Berkeley) 6/4/93 |
33.\" $Id$ | 33.\" $Id: getpid.2,v 1.3 1996/08/29 21:24:07 wosch Exp $ |
34.\" 35.Dd June 4, 1993 36.Dt GETPID 2 37.Os BSD 4 38.Sh NAME 39.Nm getpid , 40.Nm getppid 41.Nd get parent or calling process identification --- 19 unchanged lines hidden (view full) --- 61.Fn getpid 62and 63.Fn getppid 64functions are always successful, and no return value is reserved to 65indicate an error. 66.Sh SEE ALSO 67.Xr gethostid 3 68.Sh STANDARDS | 34.\" 35.Dd June 4, 1993 36.Dt GETPID 2 37.Os BSD 4 38.Sh NAME 39.Nm getpid , 40.Nm getppid 41.Nd get parent or calling process identification --- 19 unchanged lines hidden (view full) --- 61.Fn getpid 62and 63.Fn getppid 64functions are always successful, and no return value is reserved to 65indicate an error. 66.Sh SEE ALSO 67.Xr gethostid 3 68.Sh STANDARDS |
69.Fn Getpid | 69The 70.Fn getpid |
70and 71.Fn getppid | 71and 72.Fn getppid |
72conform to IEEE Std 1003.1-1988 73.Pq Dq Tn POSIX . | 73function calls are expected to conform to 74.St -p1003.1-90 . |
74.Sh HISTORY 75A 76.Fn getpid 77function call appeared in 78.At v7 . | 75.Sh HISTORY 76A 77.Fn getpid 78function call appeared in 79.At v7 . |