From 3af6d22bb3850ab2bac67287e3a3d3b0e32868e5 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 21:41:07 +0200 Subject: Merging upstream version 6.7. Signed-off-by: Daniel Baumann --- man2/getdomainname.2 | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'man2/getdomainname.2') diff --git a/man2/getdomainname.2 b/man2/getdomainname.2 index b65cbfb..9c3b6e5 100644 --- a/man2/getdomainname.2 +++ b/man2/getdomainname.2 @@ -6,7 +6,7 @@ .\" Modified 2004-06-17 by Michael Kerrisk .\" Modified 2008-11-27 by mtk .\" -.TH getdomainname 2 2023-03-30 "Linux man-pages 6.05.01" +.TH getdomainname 2 2023-10-31 "Linux man-pages 6.7" .SH NAME getdomainname, setdomainname \- get/set NIS domain name .SH LIBRARY @@ -15,16 +15,16 @@ Standard C library .SH SYNOPSIS .nf .B #include -.PP +.P .BI "int getdomainname(char *" name ", size_t " len ); .BI "int setdomainname(const char *" name ", size_t " len ); .fi -.PP +.P .RS -4 Feature Test Macro Requirements for glibc (see .BR feature_test_macros (7)): .RE -.PP +.P .BR getdomainname (), .BR setdomainname (): .nf @@ -41,7 +41,7 @@ These functions are used to access or to change the NIS domain name of the host system. More precisely, they operate on the NIS domain name associated with the calling process's UTS namespace. -.PP +.P .BR setdomainname () sets the domain name to the value given in the character array .IR name . @@ -52,7 +52,7 @@ argument specifies the number of bytes in (Thus, .I name does not require a terminating null byte.) -.PP +.P .BR getdomainname () returns the null-terminated domain name in the character array .IR name , @@ -84,7 +84,7 @@ The caller did not have the .B CAP_SYS_ADMIN capability in the user namespace associated with its UTS namespace (see .BR namespaces (7)). -.PP +.P .BR getdomainname () can fail with the following errors: .TP -- cgit v1.2.3