1246166Ssbruno/* $NetBSD: ibcs2_utsname.h,v 1.2 1994/10/26 02:53:14 cgd Exp $ */ 2246166Ssbruno/* $FreeBSD$ */ 3246166Ssbruno 4246166Ssbruno/*- 5246166Ssbruno * Copyright (c) 1994 Scott Bartram 6246166Ssbruno * All rights reserved. 7246166Ssbruno * 8246166Ssbruno * Redistribution and use in source and binary forms, with or without 9246166Ssbruno * modification, are permitted provided that the following conditions 10246166Ssbruno * are met: 11246166Ssbruno * 1. Redistributions of source code must retain the above copyright 12246166Ssbruno * notice, this list of conditions and the following disclaimer. 13246166Ssbruno * 2. Redistributions in binary form must reproduce the above copyright 14246166Ssbruno * notice, this list of conditions and the following disclaimer in the 15246166Ssbruno * documentation and/or other materials provided with the distribution. 16246166Ssbruno * 3. All advertising materials mentioning features or use of this software 17246166Ssbruno * must display the following acknowledgement: 18246166Ssbruno * This product includes software developed by Scott Bartram. 19246166Ssbruno * 4. The name of the author may not be used to endorse or promote products 20246166Ssbruno * derived from this software without specific prior written permission 21246166Ssbruno * 22246166Ssbruno * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 23246166Ssbruno * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 24246166Ssbruno * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 25246166Ssbruno * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 26246166Ssbruno * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 27246166Ssbruno * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 28246166Ssbruno * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 29246166Ssbruno * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 30246166Ssbruno * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 31246166Ssbruno * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32246166Ssbruno */ 33246166Ssbruno 34246166Ssbruno#ifndef _IBCS2_UTSNAME_H 35246166Ssbruno#define _IBCS2_UTSNAME_H 36246166Ssbruno 37246166Ssbruno#ifndef IBCS2_UNAME_SYSNAME 38246166Ssbruno#define IBCS2_UNAME_SYSNAME ostype 39246166Ssbruno#endif 40246166Ssbruno 41246166Ssbruno#ifndef IBCS2_UNAME_RELEASE 42246166Ssbruno#define IBCS2_UNAME_RELEASE "3.2" 43246166Ssbruno#endif 44246166Ssbruno 45246166Ssbruno#ifndef IBCS2_UNAME_VERSION 46246166Ssbruno#define IBCS2_UNAME_VERSION "2.0" 47246166Ssbruno#endif 48246166Ssbruno 49246166Ssbrunostruct ibcs2_utsname { 50246166Ssbruno char sysname[9]; 51246166Ssbruno char nodename[9]; 52246166Ssbruno char release[9]; 53246166Ssbruno char version[9]; 54246166Ssbruno char machine[9]; 55246166Ssbruno}; 56246166Ssbruno#define ibcs2_utsname_len (sizeof(struct ibcs2_utsname)) 57246166Ssbruno 58246166Ssbruno#endif /* _IBCS2_UTSNAME_H */ 59246166Ssbruno