#ifdef __cplusplus
extern "C" {
#endif
/*
 *		IX/370
 *		5667-126
 *	LICENSED MATERIALS - PROPERTY OF IBM
 *	(c) Copyright 1985, 1986, 1989 IBM Corp.
 *	(c) Copyright 1983, 1984, 1985, 1986 Microsoft Corporation
 *	(c) Copyright 1983, 1984, 1985, 1986,  1989 Locus Computing Corporation
 *	All Rights Reserved
 */

#ifndef _POSIX_SOURCE
#ifndef H_SCCSID
#include <sccs.h>
#endif /* ~H_SCCSID */
H_SCCSID(@(#)utsname.h	16.7       LCC)    /* Modified: 23:28:21 1/12/90 */
#endif /* NOT _POSIX_SOURCE */

#ifndef	_H_UTSNAME
#define	_H_UTSNAME

#ifndef _POSIX_SOURCE
#include <sys/DOPTIONS.h>
#endif	/* !_POSIX_SOURCE */

#define _UTSNMLEN 32

#ifndef _POSIX_SOURCE
#define UTSNMLEN _UTSNMLEN
#endif /* ! POSIX_SOURCE */

struct utsname {
	char	sysname[_UTSNMLEN];
	char	nodename[_UTSNMLEN];
	char	release[_UTSNMLEN];
	char	version[_UTSNMLEN];
	char	machine[_UTSNMLEN];
};

#ifndef	_KERNEL
extern int uname(struct utsname *);
#endif /* !_KERNEL */

#ifndef _POSIX_SOURCE
struct xutsname {
	unsigned long nid;	/* node id (TCF site number if TCF installed) */
	long reserved[3];
};

#ifdef  _KERNEL
extern struct utsname utsname;
extern struct xutsname xutsname;
#endif /* !_KERNEL */

#endif /* !_POSIX_SOURCE */

#endif /* ~_H_UTSNAME */
#ifdef __cplusplus
}
#endif
