Deleted Added
full compact
unistd.h (100149) unistd.h (102227)
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 100149 2002-07-15 22:21:33Z wollman $
34 * $FreeBSD: head/include/unistd.h 102227 2002-08-21 16:20:02Z mike $
35 */
36
37#ifndef _UNISTD_H_
38#define _UNISTD_H_
39
40#include <sys/cdefs.h>
41#include <sys/types.h> /* XXX adds too much pollution. */
42#include <sys/unistd.h>
43#include <sys/_types.h>
44
35 */
36
37#ifndef _UNISTD_H_
38#define _UNISTD_H_
39
40#include <sys/cdefs.h>
41#include <sys/types.h> /* XXX adds too much pollution. */
42#include <sys/unistd.h>
43#include <sys/_types.h>
44
45#ifdef _BSD_GID_T_
46typedef _BSD_GID_T_ gid_t;
47#undef _BSD_GID_T_
45#ifndef _GID_T_DECLARED
46typedef __gid_t gid_t;
47#define _GID_T_DECLARED
48#endif
49
48#endif
49
50#ifdef _BSD_SIZE_T_
51typedef _BSD_SIZE_T_ size_t;
52#undef _BSD_SIZE_T_
50#ifndef _SIZE_T_DECLARED
51typedef __size_t size_t;
52#define _SIZE_T_DECLARED
53#endif
54
53#endif
54
55#ifdef _BSD_SSIZE_T_
56typedef _BSD_SSIZE_T_ ssize_t;
57#undef _BSD_SSIZE_T_
55#ifndef _SSIZE_T_DECLARED
56typedef __ssize_t ssize_t;
57#define _SSIZE_T_DECLARED
58#endif
59
58#endif
59
60#ifdef _BSD_UID_T_
61typedef _BSD_UID_T_ uid_t;
62#undef _BSD_UID_T_
60#ifndef _UID_T_DECLARED
61typedef __uid_t_ uid_t;
62#define _UID_T_DECLARED
63#endif
64
65/*
66 * XXX missing type definitions for off_t, pid_t and useconds_t.
67 */
68
69#define STDIN_FILENO 0 /* standard input file descriptor */
70#define STDOUT_FILENO 1 /* standard output file descriptor */

--- 237 unchanged lines hidden ---
63#endif
64
65/*
66 * XXX missing type definitions for off_t, pid_t and useconds_t.
67 */
68
69#define STDIN_FILENO 0 /* standard input file descriptor */
70#define STDOUT_FILENO 1 /* standard output file descriptor */

--- 237 unchanged lines hidden ---