unistd.h (93032) | unistd.h (93514) |
---|---|
1/*- 2 * Copyright (c) 1991, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)unistd.h 8.12 (Berkeley) 4/27/95 | 1/*- 2 * Copyright (c) 1991, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)unistd.h 8.12 (Berkeley) 4/27/95 |
34 * $FreeBSD: head/include/unistd.h 93032 2002-03-23 17:24:55Z imp $ | 34 * $FreeBSD: head/include/unistd.h 93514 2002-04-01 08:12:25Z mike $ |
35 */ 36 37#ifndef _UNISTD_H_ 38#define _UNISTD_H_ 39 40#include <sys/cdefs.h> | 35 */ 36 37#ifndef _UNISTD_H_ 38#define _UNISTD_H_ 39 40#include <sys/cdefs.h> |
41#include | 41#include <sys/types.h> /* XXX adds too much pollution. */ |
42#include <sys/unistd.h> | 42#include <sys/unistd.h> |
43#include <sys/_types.h> |
|
43 | 44 |
45#ifdef _BSD_GID_T_ 46typedef _BSD_GID_T_ gid_t; 47#undef _BSD_GID_T_ 48#endif 49 50#ifdef _BSD_SIZE_T_ 51typedef _BSD_SIZE_T_ size_t; 52#undef _BSD_SIZE_T_ 53#endif 54 55#ifdef _BSD_SSIZE_T_ 56typedef _BSD_SSIZE_T_ ssize_t; 57#undef _BSD_SSIZE_T_ 58#endif 59 60#ifdef _BSD_UID_T_ 61typedef _BSD_UID_T_ uid_t; 62#undef _BSD_UID_T_ 63#endif 64 65/* 66 * XXX missing type definitions for off_t, pid_t and useconds_t. 67 */ 68 |
|
44#define STDIN_FILENO 0 /* standard input file descriptor */ 45#define STDOUT_FILENO 1 /* standard output file descriptor */ 46#define STDERR_FILENO 2 /* standard error file descriptor */ 47 48#ifndef NULL 49#define NULL 0 /* null pointer constant */ 50#endif 51 --- 179 unchanged lines hidden --- | 69#define STDIN_FILENO 0 /* standard input file descriptor */ 70#define STDOUT_FILENO 1 /* standard output file descriptor */ 71#define STDERR_FILENO 2 /* standard error file descriptor */ 72 73#ifndef NULL 74#define NULL 0 /* null pointer constant */ 75#endif 76 --- 179 unchanged lines hidden --- |