X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fxgetdomainname.h;h=be8d22cc93f5ff102e0bc1c59da530c0741c637a;hb=931c1209da16cb5488643b8c84c5263563320334;hp=1266c6c13cd1fec9d7b8bfe57a27c18176e18132;hpb=1ac8626ab74430f819333b64e198da59a2ac5f54;p=gnulib.git diff --git a/lib/xgetdomainname.h b/lib/xgetdomainname.h index 1266c6c13..be8d22cc9 100644 --- a/lib/xgetdomainname.h +++ b/lib/xgetdomainname.h @@ -21,7 +21,8 @@ /* Return the NIS domain name of the machine, in malloc'd storage. WARNING! The NIS domain name is unrelated to the fully qualified host name of the machine. It is also unrelated to email addresses. - WARNING! The NIS domain name is usually the empty string when not using NIS. + WARNING! The NIS domain name is usually the empty string or "(none)" when + not using NIS. If malloc fails, exit. Upon any other failure, set errno and return NULL. */ extern char *xgetdomainname (void);