summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2003-09-25 11:01:25 +0000
committerBruno Haible <bruno@clisp.org>2003-09-25 11:01:25 +0000
commitda12e5f2c2e4b5a39a2a1d6ef551717061455d44 (patch)
tree126fedf2a70ca9629e5cd288604e041367017e36 /lib
parentbed369db5c698aeb0c26dc99b2f9f2cec6bdafb8 (diff)
downloadgnulib-da12e5f2c2e4b5a39a2a1d6ef551717061455d44.tar.gz
Fix comment.
Diffstat (limited to 'lib')
-rw-r--r--lib/getdomainname.c3
-rw-r--r--lib/getdomainname.h3
-rw-r--r--lib/xgetdomainname.c3
-rw-r--r--lib/xgetdomainname.h3
4 files changed, 8 insertions, 4 deletions
diff --git a/lib/getdomainname.c b/lib/getdomainname.c
index ce1e200a66..89831e9b03 100644
--- a/lib/getdomainname.c
+++ b/lib/getdomainname.c
@@ -30,7 +30,8 @@
/* Return the NIS domain name of the machine.
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.
Put up to LEN bytes of the NIS domain name into NAME.
Null terminate it if the name is shorter than LEN.
diff --git a/lib/getdomainname.h b/lib/getdomainname.h
index cf8e33c3f6..5395a1f5ac 100644
--- a/lib/getdomainname.h
+++ b/lib/getdomainname.h
@@ -30,7 +30,8 @@
/* Return the NIS domain name of the machine.
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.
Put up to LEN bytes of the NIS domain name into NAME.
Null terminate it if the name is shorter than LEN.
diff --git a/lib/xgetdomainname.c b/lib/xgetdomainname.c
index aaf50a92d1..4c640326c0 100644
--- a/lib/xgetdomainname.c
+++ b/lib/xgetdomainname.c
@@ -39,7 +39,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. */
char *
diff --git a/lib/xgetdomainname.h b/lib/xgetdomainname.h
index 1266c6c13c..be8d22cc93 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);