source: rtems/cpukit/libcsupport/include/sys/utsname.h @ eb5a7e07

4.104.114.84.95
Last change on this file since eb5a7e07 was eb5a7e07, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 6, 1995 at 8:48:38 PM

fixed missing CVS IDs

  • Property mode set to 100644
File size: 1.1 KB
Line 
1/*  sys/utsname.h
2 *
3 *  $Id$
4 */
5
6#ifndef __POSIX_SYS_UTSNAME_h
7#define __POSIX_SYS_UTSNAME_h
8
9#include <sys/times.h>
10#include <sys/types.h>
11
12/*
13 *  4.4.1 Get System Name (Table 4-1), P1003.1b-1993, p. 90
14 *
15 *  NOTE:  The lengths of the strings in this structure are
16 *         just long enough to reliably contain the RTEMS information.
17 *         For example, the fields are not long enough to support
18 *         Internet hostnames.
19 */
20
21struct utsname {
22  char sysname[ 32 ];  /* Name of this implementation of the operating system */
23  char nodename[ 32 ]; /* Name of this node within an implementation */
24                       /*   specified communication network */
25  char release[ 32 ];  /* Current release level of this implementation */
26  char version[ 32 ];  /* Current version level of this release */
27  char machine[ 32 ];  /* Name of the hardware type on which the system */
28                       /*   is running */
29};
30
31/*
32 *  4.4.1 Get System Name, P1003.1b-1993, p. 90
33 */
34
35int uname(
36  struct utsname *name
37);
38
39/*
40 *  4.5.2 Get Process Times, P1003.1b-1993, p. 92
41 */
42
43clock_t times(
44  struct tms   *buffer
45);
46
47#endif
48/* end of include file */
49
Note: See TracBrowser for help on using the repository browser.