G
The functions, macros, and data structures in the C library are described here in alphabetical order.
A ¦ B ¦ C ¦ D ¦ E ¦ F ¦ G ¦ H ¦ I ¦ J ¦ K ¦ L ¦ M ¦ N ¦ O ¦ P ¦ Q ¦ R ¦ S ¦ T ¦ U ¦ V ¦ W ¦ X ¦ Y ¦ Z
The following are described elsewhere:
| For information about: | See: |
|---|---|
| get_device_command() | devctl() |
| get_device_direction() | devctl() |
This chapter describes the API components whose names begin with G.
Related links
- gai_strerror()
Return the string associated with a getaddrinfo() error code
- gamma(), gamma_r(), gammaf(), gammaf_r()
Log gamma function
- getaddrinfo()
Get socket address information
- getc()
Get the next character from a file
- getc_unlocked()
Get the next character from a file
- getchar()
Get a character from stdin
- getchar_unlocked()
Get a character from stdin
- getcwd()
Get the name of the current working directory
- getdomainname()
Get the domain name of the current host
- getdtablesize()
Get the size of the file descriptor table
- getegid()
Get the effective group ID
- getenv()
Get the value of an environment variable
- geteuid()
Get the effective user ID
- getfsfile()
Search for a filesystem name in the filesystem table (/etc/fstab) file
- getfsent()
Get the next entry from the filesystem table (/etc/fstab) file
- getfsspec()
Search for a block special device in the filesystem table (/etc/fstab) file
- getgid()
Get the group ID
- getgrent()
Return an entry from the group database
- getgrgid()
Get information about the group with a given ID
- getgrgid_r()
Get information about the group with a given ID
- getgrnam()
Get information about the group with a given name
- getgrnam_r()
Get information about the group with a given name
- getgrouplist()
Determine the group access list for a user
- getgroups()
Get the supplementary group IDs of the calling process
- gethostbyaddr()
Get a network host entry, given an Internet address
- gethostbyaddr_r()
Get a network host entry, in a thread-safe manner
- gethostbyname(), gethostbyname2()
Get a network host entry, given a name
- gethostbyname_r()
Get a network host entry by name
- gethostent()
Read the next line of the host database file
- gethostent_r()
Read the next line of the host database file
- gethostname()
Get the name of the current host
- getifaddrs()
Get a network interface address
- GETIOVBASE()
Get the base member of an iov_t structure
- GETIOVLEN()
Get the length member of an iov_t structure
- getitimer()
Get the value of an interval timer
- getlogin()
Get the user name associated with the calling process
- getlogin_r()
Get the user name associated with the calling process
- getnameinfo()
Perform address-to-nodename translation in a protocol-independent manner
- getnetbyaddr()
Get a network entry, given an address (Unix)
- getnetbyname()
Get a network entry, given a name
- getnetent()
Read the next line of the network name database file
- getopt()
Parse options from a command line
- getpagesize()
Get the current page size (Legacy Unix)
- getpagesizes(), getpagesizes64()
Get the available page sizes
- getpass()
Prompt for and read a password
- getpeereid()
Get the effective credentials of a UNIX-domain peer
- getpeername()
Get the name of the peer connected to a socket
- getpgid()
Get a process group ID
- getpgrp()
Get the process group
- getpid()
Get the process ID
- getppid()
Get the parent process ID
- getprotobyname()
Get a protocol entry, given a name
- getprotobynumber()
Get a protocol entry, given a number
- getprotoent()
Read the next line of the protocol name database file
- getpwent()
Get the next entry from the password database
- getpwent_r()
Get the next entry from the password database
- getpwnam()
Get information about the user with a given name
- getpwnam_r()
Get information about the user with a given name
- getpwuid()
Get information about the user with a given ID
- getpwuid_r()
Get information about the user with a given ID
- getrlimit(), getrlimit64()
Get the limit on a system resource
- getrusage()
Get information about resource utilization
- gets()
Get a string of characters from standard input
- getservbyname()
Get a service entry, given a name
- getservbyport()
Get a service entry, given a port
- getservent()
Read the next line of network services database file
- getsid()
Get the session ID of a process
- getsockname()
Get the name of a socket
- getsockopt()
Get options associated with a socket
- getspent(), getspent_r()
Get an entry from the shadow password database
- getspnam(), getspnam_r()
Get information about a user with a given name
- getsubopt()
Parse suboptions from a string
- gettid()
Get the thread ID
- getuid()
Get the user ID
- getutent()
Read the next entry from the user-information file
- getutid()
Search for an entry in the user-information file
- getutline()
Get an entry from the user-information file
- getw()
Get a word from a stream
- getwc()
Read a wide character from a stream
- getwchar()
Read a character from a stream
- getwd()
Get current working directory pathname
- glob()
Find paths matching a pattern
- globfree()
Free storage allocated by a call to glob()
- gmtime()
Convert calendar time to a broken-down time
- gmtime_r()
Convert calendar time to a broken-down time
- grantpt()
Grant access to a slave pseudo-terminal device