PHP POSIX Functions
EditRocket provides the following information on POSIX functions in the PHP source code builder.
bool posix_access ( string $file [, int $mode ] ) - posix_access() checks the user's permission of a file.
string posix_ctermid ( void ) -
int posix_get_last_error ( void ) - Retrieve the error number set by the last posix function that failed.
string posix_getcwd ( void ) - Gets the absolute pathname of the script's current working directory.
int posix_getegid ( void ) - Return the numeric effective group ID of the current process.
int posix_geteuid ( void ) - Return the numeric effective user ID of the current process.
int posix_getgid ( void ) - Return the numeric real group ID of the current process.
array posix_getgrgid ( int $gid ) - Gets information about a group provided its id.
array posix_getgrnam ( string $name ) - Gets information about a group provided its name.
array posix_getgroups ( void ) - Gets the group set of the current process.
string posix_getlogin ( void ) - Returns the login name of the user owning the current process.
int posix_getpgid ( int $pid ) - Returns the process group identifier of the process pid.
int posix_getpgrp ( void ) - Return the process group identifier of the current process.
int posix_getpid ( void ) - Return the process identifier of the current process.
int posix_getppid ( void ) - Return the process identifier of the parent process of the current process.
array posix_getpwnam ( string $username ) -
array posix_getpwuid ( int $uid ) -
array posix_getrlimit ( void ) -
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.
int posix_getuid ( void ) - Return the numeric real user ID of the current process.
bool posix_initgroups ( string $name , int $base_group_id ) - Calculates the group access list for the user specified in name.
bool posix_isatty ( int $fd ) - Determines if the file descriptor fd refers to a valid terminal type device.
bool posix_kill ( int $pid , int $sig ) - Send the signal sig to the process with the process identifier pid.
bool posix_mkfifo ( string $pathname , int $mode ) - posix_mkfifo() creates a special FIFO file which exists in the file system and acts as a bidirectional communication endpoint for processes.
bool posix_mknod ( string $pathname , int $mode [, int $major [, int $minor ]] ) - Creates a special or ordinary file.
bool posix_setegid ( int $gid ) - Set the effective group ID of the current process. This is a privileged function and needs appropriate privileges (usually root) on the system to be able to perform this function.
bool posix_seteuid ( int $uid ) - Set the real user ID of the current process. This is a privileged function and needs appropriate privileges (usually root) on the system to be able to perform this function.
bool posix_setgid ( int $gid ) - Set the real group ID of the current process. This is a privileged function and needs appropriate privileges (usually root) on the system to be able to perform this function.
bool posix_setpgid ( int $pid , int $pgid ) - Let the process pid join the process group pgid.
int posix_setsid ( void ) - Make the current process a session leader.
bool posix_setuid ( int $uid ) - Set the real user ID of the current process. This is a privileged function that needs appropriate privileges (usually root) on the system to be able to perform this function.
string posix_strerror ( int $errno ) - Returns the POSIX system error message associated with the given errno.
array posix_times ( void ) - Gets information about the current CPU usage.
string posix_ttyname ( int $fd ) -
array posix_uname ( void ) - Gets information about the system.