sync code with last improvements from OpenBSD

This commit is contained in:
purplerain 2023-10-10 01:27:26 +00:00
parent cb73df2d98
commit e4e1b9f314
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
26 changed files with 382 additions and 253 deletions

View file

@ -1,4 +1,4 @@
.\" $OpenBSD: uname.3,v 1.18 2022/09/11 06:38:10 jmc Exp $
.\" $OpenBSD: uname.3,v 1.19 2023/10/09 19:32:51 schwarze Exp $
.\"
.\" Copyright (c) 1994
.\" The Regents of the University of California. All rights reserved.
@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.Dd $Mdocdate: September 11 2022 $
.Dd $Mdocdate: October 9 2023 $
.Dt UNAME 3
.Os
.Sh NAME
@ -62,6 +62,13 @@ Version level of the operating system.
.It Fa machine
Machine hardware platform.
.El
.Pp
These are the same strings that can be displayed with
.Xr uname 1 .
Because their format and meaning depends on the operating system,
trying to parse or interpret them is discouraged in portable code.
The only reasonable way an application program can use them
is for displaying them to the user.
.Sh RETURN VALUES
The
.Fn uname