UNAME.2
Upload User: jnzhq888
Upload Date: 2007-01-18
Package Size: 51694k
Code Size: 1k
Category:

OS Develop

Development Platform:

WINDOWS

  1. UNAME(2)                  Minix Programmer's Manual                   UNAME(2)
  2. NAME
  3.      uname - get system info
  4. SYNOPSIS
  5.      #include <sys/utsname.h>
  6.      int uname(struct utsname *name)
  7. DESCRIPTION
  8.      Uname() fills a struct utsname with system information.   This  structure
  9.      is described in <sys/utsname.h> as follows:
  10.      struct utsname {
  11.          char  sysname[15+1];           /* System name */
  12.          char  nodename[255+1];         /* Node/Network name */
  13.          char  release[11+1];           /* O.S. release */
  14.          char  version[7+1];            /* O.S. version */
  15.          char  machine[11+1];           /* Machine hardware */
  16.          char  arch[11+1];              /* Architecture */
  17.      };
  18.      The strings are always null terminated, and may be of a different  length
  19.      then shown here.  The first five are required by POSIX, the last is Minix
  20.      specific.
  21. SEE ALSO
  22.      uname(1).
  23. AUTHOR
  24.      Kees J. Bot (kjb@cs.vu.nl)
  25.                                                                              1