ansi.h revision 1.1
11.1Smw/*- 21.1Smw * Copyright (c) 1990 The Regents of the University of California. 31.1Smw * All rights reserved. 41.1Smw * 51.1Smw * Redistribution and use in source and binary forms, with or without 61.1Smw * modification, are permitted provided that the following conditions 71.1Smw * are met: 81.1Smw * 1. Redistributions of source code must retain the above copyright 91.1Smw * notice, this list of conditions and the following disclaimer. 101.1Smw * 2. Redistributions in binary form must reproduce the above copyright 111.1Smw * notice, this list of conditions and the following disclaimer in the 121.1Smw * documentation and/or other materials provided with the distribution. 131.1Smw * 3. All advertising materials mentioning features or use of this software 141.1Smw * must display the following acknowledgement: 151.1Smw * This product includes software developed by the University of 161.1Smw * California, Berkeley and its contributors. 171.1Smw * 4. Neither the name of the University nor the names of its contributors 181.1Smw * may be used to endorse or promote products derived from this software 191.1Smw * without specific prior written permission. 201.1Smw * 211.1Smw * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 221.1Smw * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 231.1Smw * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 241.1Smw * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 251.1Smw * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 261.1Smw * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 271.1Smw * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 281.1Smw * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 291.1Smw * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 301.1Smw * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 311.1Smw * SUCH DAMAGE. 321.1Smw * 331.1Smw * @(#)ansi.h 7.1 (Berkeley) 3/9/91 341.1Smw */ 351.1Smw 361.1Smw#ifndef _ANSI_H_ 371.1Smw#define _ANSI_H_ 381.1Smw 391.1Smw/* 401.1Smw * Types which are fundamental to the implementation and may appear in 411.1Smw * more than one standard header are defined here. Standard headers 421.1Smw * then use: 431.1Smw * #ifdef _SIZE_T_ 441.1Smw * typedef _SIZE_T_ size_t; 451.1Smw * #undef _SIZE_T_ 461.1Smw * #endif 471.1Smw * 481.1Smw * Thanks, ANSI! 491.1Smw */ 501.1Smw#define _CLOCK_T_ unsigned long /* clock() */ 511.1Smw#define _PTRDIFF_T_ int /* ptr1 - ptr2 */ 521.1Smw#define _SIZE_T_ unsigned long /* sizeof() */ 531.1Smw#define _TIME_T_ long /* time() */ 541.1Smw#define _VA_LIST_ char * /* va_list */ 551.1Smw#define _WCHAR_T_ unsigned short /* wchar_t */ 561.1Smw 571.1Smw#endif /* _ANSI_H_ */ 58