1 /*- 2 * Copyright (c) 1994 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Chuck Karish of Mindcraft, Inc. 7 * 8 * %sccs.include.redist.c% 9 * 10 * @(#)utsname.h 8.1 (Berkeley) 01/04/94 11 */ 12 13 #ifndef _SYS_UTSNAME_H 14 #define _SYS_UTSNAME_H 15 16 struct utsname { 17 char sysname[256]; /* Name of this OS. */ 18 char nodename[256]; /* Name of this network node. */ 19 char release[256]; /* Release level. */ 20 char version[256]; /* Version level. */ 21 char machine[256]; /* Hardware type. */ 22 }; 23 24 #include <sys/cdefs.h> 25 26 __BEGIN_DECLS 27 int uname __P((struct utsname *)); 28 __END_DECLS 29 30 #endif /* !_SYS_UTSNAME_H */ 31