]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
uname.2: fix standard reference wording
authorнаб <nabijaczleweli@nabijaczleweli.xyz>
Wed, 15 Jun 2022 16:39:09 +0000 (18:39 +0200)
committerAlejandro Colomar <alx.manpages@gmail.com>
Wed, 15 Jun 2022 16:58:23 +0000 (18:58 +0200)
Issue 6:
    IEEE Std 1003.1-2001/Cor 2-2004, item XBD/TC2/D6/27 is applied,
changing the description of nodename within the utsname structure from
``an implementation-defined communications network'' to
``the communications network to which this node is attached, if any''.

Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
man2/uname.2

index 94c9c951a4b7361408eb9c8af1884a7e31c69e1d..fa991edfc79c062d511ef2d779d4f714ed219b0f 100644 (file)
@@ -29,8 +29,8 @@ struct is defined in
 .EX
 struct utsname {
     char sysname[];    /* Operating system name (e.g., "Linux") */
-    char nodename[];   /* Name within "some implementation\-defined
-                          network" */
+    char nodename[];   /* Name within communications network
+                          to which the node is attached, if any */
     char release[];    /* Operating system release
                           (e.g., "2.6.28") */
     char version[];    /* Operating system version */
@@ -73,9 +73,10 @@ So, four of the fields of the struct are meaningful.
 On the other hand, the field
 .I nodename
 is meaningless:
-it gives the name of the present machine in some undefined
-network, but typically machines are in more than one network
-and have several names.
+it gives the name of the present machine in some network
+to which it's attached,
+but typically machines are in more than one network
+and have several names by which they're reachable.
 Moreover, the kernel has no way of knowing
 about such things, so it has to be told what to answer here.
 The same holds for the additional