]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
gethostname.2: Add LIBRARY section
authorAlejandro Colomar <alx.manpages@gmail.com>
Sun, 12 Sep 2021 14:03:26 +0000 (16:03 +0200)
committerAlejandro Colomar <alx.manpages@gmail.com>
Fri, 25 Feb 2022 15:33:03 +0000 (16:33 +0100)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
man2/gethostname.2

index dae42e4a82193412ad00bfd3e4f24163756549cf..a1c417287f517e4811d0b9f98eb891b1cde573a1 100644 (file)
@@ -12,6 +12,9 @@
 .TH GETHOSTNAME 2 2021-03-22 "Linux" "Linux Programmer's Manual"
 .SH NAME
 gethostname, sethostname \- get/set hostname
+.SH LIBRARY
+Standard C library
+.RI ( libc ", " -lc )
 .SH SYNOPSIS
 .nf
 .B #include <unistd.h>