add directory Minix
This commit is contained in:
71
Minix/2.0.0/wwwman/man2/uname.2.html
Normal file
71
Minix/2.0.0/wwwman/man2/uname.2.html
Normal file
@@ -0,0 +1,71 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>uname(2)</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<H1>uname(2)</H1>
|
||||
<HR>
|
||||
<PRE>
|
||||
|
||||
</PRE>
|
||||
<H2>NAME</H2><PRE>
|
||||
uname - get system info
|
||||
|
||||
|
||||
</PRE>
|
||||
<H2>SYNOPSIS</H2><PRE>
|
||||
<STRONG>#include</STRONG> <STRONG><sys/utsname.h></STRONG>
|
||||
|
||||
<STRONG>int</STRONG> <STRONG>uname(struct</STRONG> <STRONG>utsname</STRONG> <STRONG>*name)</STRONG>
|
||||
|
||||
|
||||
</PRE>
|
||||
<H2>DESCRIPTION</H2><PRE>
|
||||
<STRONG>Uname()</STRONG> fills a struct utsname with system information. This structure
|
||||
is described in <sys/utsname.h> as follows:
|
||||
|
||||
struct utsname {
|
||||
char sysname[15+1]; /* System name */
|
||||
char nodename[255+1]; /* Node/Network name */
|
||||
char release[11+1]; /* O.S. release */
|
||||
char version[7+1]; /* O.S. version */
|
||||
char machine[11+1]; /* Machine hardware */
|
||||
char arch[11+1]; /* Architecture */
|
||||
};
|
||||
|
||||
The strings are always null terminated, and may be of a different length
|
||||
then shown here. The first five are required by POSIX, the last is Minix
|
||||
specific.
|
||||
|
||||
|
||||
</PRE>
|
||||
<H2>SEE ALSO</H2><PRE>
|
||||
<STRONG><A HREF="../man1/uname.1.html">uname(1)</A></STRONG>.
|
||||
|
||||
|
||||
</PRE>
|
||||
<H2>AUTHOR</H2><PRE>
|
||||
Kees J. Bot (kjb@cs.vu.nl)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</PRE>
|
||||
</BODY>
|
||||
</HTML>
|
||||
Reference in New Issue
Block a user