Getpid
The Single UNIX ® Specification, Version 2
Copyright © 1997 The Open Group
Name
getpid - get the process ID
Synopsis
#include <sys/types.h> #include <unistd.h> pid_t getpid(void);
Description
The getpid() function returns the process ID of the calling process.
Return Value
The getpid() function is always successful and no return value is reserved to indicate an error.
Errors
No errors are defined.
Examples
None.
Application Usage
None.
Future Directions
None.
See Also
- exec
- fork()
- getpgrp()
- getppid()
- kill()
- setpgid()
- setsid()
- <sys/types.h>
- <unistd.h>
Derivation
Derived from Issue 1 of the SVID.
UNIX ® is a registered Trademark of The Open Group.
Copyright © 1997 The Open Group
[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]
1 di 1 21/04/2010 13:42
-
Sistemi operativi - Syscall atoi
-
Sistemi operativi - Syscall memset
-
Sistemi operativi - Syscall pthread_cond_init
-
Sistemi operativi - Syscall pthread_mutex_lock