posix_initgroups

(PHP 5 >= 5.2.0, PHP 7) Calculate the group access list bool posix_initgroups ( string $name, int $base_group_id ) Calculates the group access list for the user specified in name. Parameters: name The user to calculate the list for. base_group_id Typically the group number from the password file. Returns: Re

posix_getuid

(PHP 4, PHP 5, PHP 7) Return the real user ID of the current process int posix_getuid ( void ) Return the numeric real user ID of the current process. Returns: Returns the user id, as an integer Examples: Example use of posix_getuid() <?php echo posix_getuid(); //10000 ?> See also:

posix_getsid

(PHP 4, PHP 5, PHP 7) Get the current sid of the process int posix_getsid ( int $pid ) Return the session id of the process pid. The session id of a process is the process group id of the session leader. Parameters: pid The process identifier. If set to 0, the current process is assumed. If an invalid pid is specified, then FALSE is returned and an error is set which can

posix_getrlimit

(PHP 4, PHP 5, PHP 7) Return info about system resource limits array posix_getrlimit ( void ) posix_getrlimit() returns an array of information about the current resource's soft and hard limits. Each resource has an associated soft and hard limit. The soft limit is the value that the kernel enforces for the corresponding resource. The hard limit acts as a ceiling for the soft limit. An unprivileged process may only set its

posix_getpwuid

(PHP 4, PHP 5, PHP 7) Return info about a user by user id array posix_getpwuid ( int $uid ) Returns an array of information about the user referenced by the given user ID. Parameters: uid The user identifier. Returns: Returns an associative array with the following elements: The user information array Element Description name The name element c

posix_getpwnam

(PHP 4, PHP 5, PHP 7) Return info about a user by username array posix_getpwnam ( string $username ) Returns an array of information about the given user. Parameters: username An alphanumeric username. Returns: On success an array with the following elements is returned, else FALSE is returned: The user information array Element Description name

posix_getppid

(PHP 4, PHP 5, PHP 7) Return the parent process identifier int posix_getppid ( void ) Return the process identifier of the parent process of the current process. Returns: Returns the identifier, as an integer. Examples: Example use of posix_getppid() <?php echo posix_getppid(); //8259 ?>

posix_getpid

(PHP 4, PHP 5, PHP 7) Return the current process identifier int posix_getpid ( void ) Return the process identifier of the current process. Returns: Returns the identifier, as an integer. Examples: Example use of posix_getpid() <?php echo posix_getpid(); //8805 ?> See also:

posix_getpgrp

(PHP 4, PHP 5, PHP 7) Return the current process group identifier int posix_getpgrp ( void ) Return the process group identifier of the current process. Returns: Returns the identifier, as an integer.

posix_getpgid

(PHP 4, PHP 5, PHP 7) Get process group id for job control int posix_getpgid ( int $pid ) Returns the process group identifier of the process pid or FALSE on failure. Parameters: pid The process id. Returns: Returns the identifier, as an integer. Notes: This is a not POSIX function, but is co