summaryrefslogtreecommitdiffstats
path: root/man2/uname.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/uname.2')
-rw-r--r--man2/uname.212
1 files changed, 6 insertions, 6 deletions
diff --git a/man2/uname.2 b/man2/uname.2
index e84f3e7..e4f449f 100644
--- a/man2/uname.2
+++ b/man2/uname.2
@@ -4,7 +4,7 @@
.\"
.\" 2007-07-05 mtk: Added details on underlying system call interfaces
.\"
-.TH uname 2 2023-03-30 "Linux man-pages 6.05.01"
+.TH uname 2 2023-10-31 "Linux man-pages 6.7"
.SH NAME
uname \- get name and information about current kernel
.SH LIBRARY
@@ -13,7 +13,7 @@ Standard C library
.SH SYNOPSIS
.nf
.B #include <sys/utsname.h>
-.PP
+.P
.BI "int uname(struct utsname *" buf );
.fi
.SH DESCRIPTION
@@ -24,7 +24,7 @@ The
.I utsname
struct is defined in
.IR <sys/utsname.h> :
-.PP
+.P
.in +4n
.EX
struct utsname {
@@ -41,7 +41,7 @@ struct utsname {
};
.EE
.in
-.PP
+.P
The length of the arrays in a
.I struct utsname
is unspecified (see NOTES);
@@ -60,7 +60,7 @@ is not valid.
The
.I domainname
member (the NIS or YP domain name) is a GNU extension.
-.PP
+.P
The length of the fields in the struct varies.
Some operating systems
or libraries use a hardcoded 9 or 33 or 65 or 257.
@@ -120,7 +120,7 @@ Similarly, the
.I domainname
field is set via
.BR setdomainname (2).
-.PP
+.P
Part of the utsname information is also accessible via
.IR /proc/sys/kernel/ { ostype ,
.IR hostname ,