POSIX Functions
These functions conform to the IEEE 1003.1 (POSIX.1) standard:
string posix_ctermid(void)Generate terminal path name (POSIX.1, 4.7.1)
string posix_getcwd( )Get working directory pathname (POSIX.1, 5.2.2)
long posix_getegid(void)Get the current effective group ID (POSIX.1, 4.2.1)
long posix_geteuid(void)Get the current effective user ID (POSIX.1, 4.2.1)
long posix_getgid(void)Get the current group ID (POSIX.1, 4.2.1)
array posix_getgrgid(long gid)Group database access (POSIX.1, 9.2.1)
array posix_getgrnam(string groupname)Group database access (POSIX.1, 9.2.1)
long posix_getgroups(void)Get supplementary group IDs (POSIX.1, 4.2.3)
string posix_getlogin(void)Get user name (POSIX.1, 4.2.4)
long posix_getpgid(void)Get the process group ID of the specified process (non-POSIX)
long posix_getpgrp(void)Get current process group ID (POSIX.1, 4.3.1)
long posix_getpid(void)Get the current process ID (POSIX.1, 4.1.1)
long posix_getppid(void)Get the parent process ID (POSIX.1, 4.1.1)
array posix_getpwnam(string groupname)User database access (POSIX.1, 9.2.2)
array posix_getpwuid(long uid)User database access (POSIX.1, 9.2.2)
long posix_getrlimit(void)Get system resource consumption limits (non-POSIX)
long posix_getsid(void)Get process group ID of session leader (non-POSIX)
long posix_getuid(void)Get the current user ID (POSIX.1, 4.2.1)
bool posix_isatty(int fd)Determine if file descriptor is a
tty(POSIX.1, 4.7.1)int posix_kill(int pid, int sig)Send a signal ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access