111394Sswallace/*	$NetBSD: ibcs2_utsname.h,v 1.2 1994/10/26 02:53:14 cgd Exp $	*/
2139799Simp/* $FreeBSD$ */
311394Sswallace
4139799Simp/*-
511394Sswallace * Copyright (c) 1994 Scott Bartram
611394Sswallace * All rights reserved.
711394Sswallace *
811394Sswallace * Redistribution and use in source and binary forms, with or without
911394Sswallace * modification, are permitted provided that the following conditions
1011394Sswallace * are met:
1111394Sswallace * 1. Redistributions of source code must retain the above copyright
1211394Sswallace *    notice, this list of conditions and the following disclaimer.
1311394Sswallace * 2. Redistributions in binary form must reproduce the above copyright
1411394Sswallace *    notice, this list of conditions and the following disclaimer in the
1511394Sswallace *    documentation and/or other materials provided with the distribution.
1611394Sswallace * 3. All advertising materials mentioning features or use of this software
1711394Sswallace *    must display the following acknowledgement:
1811394Sswallace *      This product includes software developed by Scott Bartram.
1911394Sswallace * 4. The name of the author may not be used to endorse or promote products
2011394Sswallace *    derived from this software without specific prior written permission
2111394Sswallace *
2211394Sswallace * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
2311394Sswallace * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
2411394Sswallace * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
2511394Sswallace * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
2611394Sswallace * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
2711394Sswallace * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2811394Sswallace * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2911394Sswallace * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3011394Sswallace * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
3111394Sswallace * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3211394Sswallace */
3311394Sswallace
3411394Sswallace#ifndef	_IBCS2_UTSNAME_H
3511394Sswallace#define	_IBCS2_UTSNAME_H
3611394Sswallace
3711525Sswallace#ifndef IBCS2_UNAME_SYSNAME
3811525Sswallace#define IBCS2_UNAME_SYSNAME ostype
3911525Sswallace#endif
4011525Sswallace
4111525Sswallace#ifndef IBCS2_UNAME_RELEASE
4211525Sswallace#define IBCS2_UNAME_RELEASE "3.2"
4311525Sswallace#endif
4411525Sswallace
4511525Sswallace#ifndef IBCS2_UNAME_VERSION
4611525Sswallace#define IBCS2_UNAME_VERSION "2.0"
4711525Sswallace#endif
4811525Sswallace
4911394Sswallacestruct ibcs2_utsname {
5011394Sswallace	char	sysname[9];
5111394Sswallace	char	nodename[9];
5211394Sswallace	char	release[9];
5311394Sswallace	char	version[9];
5411394Sswallace	char	machine[9];
5511394Sswallace};
5611394Sswallace#define ibcs2_utsname_len	(sizeof(struct ibcs2_utsname))
5711394Sswallace
5811394Sswallace#endif /* _IBCS2_UTSNAME_H */
59