Functions

Get the hostname using the gethostname function in libc.