source: trunk/minix/man/man2/uname.2@ 20

Last change on this file since 20 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 811 bytes
RevLine 
[9]1.TH UNAME 2
2.SH NAME
3uname \- get system info
4.SH SYNOPSIS
5.ft B
6.nf
7#include <sys/utsname.h>
8
9int uname(struct utsname *name)
10.fi
11.ft P
12.SH DESCRIPTION
13.B Uname()
14fills a struct utsname with system information. This structure is described
15in <sys/utsname.h> as follows:
16.PP
17.nf
18.ta +4n +6n +25n
19struct utsname {
20 char sysname[15+1]; /* System name */
21 char nodename[255+1]; /* Node/Network name */
22 char release[11+1]; /* O.S. release */
23 char version[7+1]; /* O.S. version */
24 char machine[11+1]; /* Machine hardware */
25 char arch[11+1]; /* Architecture */
26};
27.fi
28.PP
29The strings are always null terminated, and may be of a different length then
30shown here. The first five are required by \s-2POSIX\s+2, the last is
31MINIX 3 specific.
32.SH "SEE ALSO"
33.BR uname (1).
34.SH AUTHOR
35Kees J. Bot (kjb@cs.vu.nl)
Note: See TracBrowser for help on using the repository browser.