PWB1/usr/man/man2/uname.2

.th UNAME II 5/31/77
.sh NAME
uname \*- get name of current PWB/UNIX
.sh SYNOPSIS
.nf
(pwbsys = 57.; uname = 0)
(pointer to name in r0)
.bd "sys	pwbsys; uname"

.bd uname(name)
.bd "char	*name;"
.fi
.sh DESCRIPTION
.it Uname
returns in
.it name
the 8 byte character name of the current PWB/UNIX.
The name is not null-terminated.
By convention, the name is of the form pwb?date.
For example, pwba0401 would indicate that this is
PWB/UNIX
System A and that its operating system was last modified on April 1.
.s3
This function is kept in the
.bd \-lPW
library.
.sh "SEE ALSO"
uname(I)
.sh DIAGNOSTICS
The error bit(c-bit) is set if
.it name
can not be written.
From C, a \*-1 return indicates an error.