Files
xserver/os/xhostname.c
Enrico Weigelt, metux IT consult df0d09dcb2 os: xhostname: helper for gethostname()
This little helper does the OS specific part for gethostname()
calls. It's putting the result into a fixed-length struct and making
sure it's properly filled and the string is always zero-terminated.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-08-07 16:57:43 +02:00

574 B