X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fgetdomainname.h;h=47f23a794c209796c7d33059d6e1f6d2ae800921;hb=f19812dec8982dc3c69d3b6995025184dd4dbddb;hp=cf8e33c3f6413b10105a45c987f6142ca0922fbd;hpb=e7039330c86c3c24f48d635ca7664b7d45a145c3;p=gnulib.git diff --git a/lib/getdomainname.h b/lib/getdomainname.h index cf8e33c3f..47f23a794 100644 --- a/lib/getdomainname.h +++ b/lib/getdomainname.h @@ -1,10 +1,10 @@ /* getdomainname - Return the NIS domain name. Copyright (C) 2003 Free Software Foundation, Inc. - This program is free software; you can redistribute it and/or modify + This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -12,8 +12,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + along with this program. If not, see . */ #ifndef _GETDOMAINNAME_H #define _GETDOMAINNAME_H @@ -30,7 +29,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.