summaryrefslogtreecommitdiff
path: root/modules/gethostname
blob: 796dc6fea9bfdc4f37fe2b7ea4cd4fce21a87e6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description:
gethostname() function: Return machine's hostname.

Files:
lib/gethostname.c
m4/gethostname.m4
m4/sys_socket_h.m4

Depends-on:
unistd

configure.ac:
gl_FUNC_GETHOSTNAME
gl_UNISTD_MODULE_INDICATOR([gethostname])

Makefile.am:

Include:
<unistd.h>

License:
LGPLv2+

Maintainer:
all