posix_getpid(3) php man page | unix.com

Man Page: posix_getpid

Operating Environment: php

Section: 3

POSIX_GETPID(3) 							 1							   POSIX_GETPID(3)

posix_getpid - Return the current process identifier

SYNOPSIS
int posix_getpid (void )
DESCRIPTION
Return the process identifier of the current process.
RETURN VALUES
Returns the identifier, as an integer.
EXAMPLES
Example #1 Example use of posix_getpid(3) <?php echo posix_getpid(); //8805 ?>
SEE ALSO
posix_kill(3), POSIX man page GETPID(2). PHP Documentation Group POSIX_GETPID(3)
Related Man Pages
pcntl_signal_dispatch(3) - php
pcntl_signal(3) - php
ldap_get_option(3) - php
posix_getegid(3) - php
posix_setuid(3) - php
Similar Topics in the Unix Linux Community
UNIX.COM 2017 Year End Summary
New Code Tags (Syntax Highlighting)
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
Please Welcome Nicki Paul to the Moderator Team!