Home
Search all pages
Subjects
By activity
Professions, Sciences, Humanities, Business, ...
User Interface
Text-based, GUI, Audio, Video, Keyboards, Mouse, Images,...
Text Strings
Conversions, tests, processing, manipulation,...
Math
Integer, Floating point, Matrix, Statistics, Boolean, ...
Processing
Algorithms, Memory, Process control, Debugging, ...
Stored Data
Data storage, Integrity, Encryption, Compression, ...
Communications
Networks, protocols, Interprocess, Remote, Client Server, ...
Hard World Timing, Calendar and Clock, Audio, Video, Printer, Controls...
File System
Management, Filtering, File & Directory access, Viewers, ...
|
|
|
RocketLink!--> Man page versions:
OpenBSD
FreeBSD
NetBSD
RedHat
Solaris
Others
GETPID(2) OpenBSD Programmer's Manual GETPID(2)
NAME
getpid, getppid - get parent or calling process identification
SYNOPSIS
#include <sys/types.h>
#include <unistd.h>
pid_t
getpid(void);
pid_t
getppid(void);
DESCRIPTION
getpid() returns the process ID of the calling process. The ID is guar-
anteed to be unique and is useful for constructing temporary file names.
getppid() returns the process ID of the parent of the calling process.
ERRORS
The getpid() and getppid() functions are always successful, and no return
value is reserved to indicate an error.
SEE ALSO
gethostid(3)
STANDARDS
getpid() and getppid() conform to IEEE Std1003.1-1988 (``POSIX'').
OpenBSD 2.6 June 4, 1993 1
Source: OpenBSD 2.6 man pages. Copyright: Portions are copyrighted by BERKELEY SOFTWARE DESIGN, INC., The Regents of the University of California, Massachusetts Institute of Technology, Free Software Foundation, FreeBSD Inc., and others. |
(Corrections, notes, and links courtesy of RocketAware.com)
Up to: Current Process Control - control of the currently running process, longjmp, wait, sleep, argument processing
Up to: Running Process Information - Getting information on running processes.
RocketLink!--> Man page versions:
OpenBSD
FreeBSD
NetBSD
RedHat
Solaris
Others
Rapid-Links:
Search | About | Comments | Submit Path: RocketAware > man pages >
getpid.2/
RocketAware.com is a service of Mib Software Copyright 1999, Forrest J. Cavalier III. All Rights Reserved. We welcome submissions and comments
|