Deleted Added
full compact
unistd.h (138508) unistd.h (138659)
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 138508 2004-12-07 07:10:39Z phk $
34 * $FreeBSD: head/include/unistd.h 138659 2004-12-10 15:24:40Z trhodes $
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>

--- 388 unchanged lines hidden (view full) ---

431int lchown(const char *, uid_t, gid_t);
432int lockf(int, int, off_t);
433int nice(int);
434ssize_t pread(int, void *, size_t, off_t);
435ssize_t pwrite(int, const void *, size_t, off_t);
436int setpgrp(pid_t _pid, pid_t _pgrp); /* obsoleted by setpgid() */
437int setregid(gid_t, gid_t);
438int setreuid(uid_t, uid_t);
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>

--- 388 unchanged lines hidden (view full) ---

431int lchown(const char *, uid_t, gid_t);
432int lockf(int, int, off_t);
433int nice(int);
434ssize_t pread(int, void *, size_t, off_t);
435ssize_t pwrite(int, const void *, size_t, off_t);
436int setpgrp(pid_t _pid, pid_t _pgrp); /* obsoleted by setpgid() */
437int setregid(gid_t, gid_t);
438int setreuid(uid_t, uid_t);
439/* void swab(const void * __restrict, void * __restrict, ssize_t); */
439
440#ifndef _SWAB_DECLARED
441#define _SWAB_DECLARED
442void swab(const void * __restrict, void * __restrict, ssize_t);
443#endif /* _SWAB_DECLARED */
444
440void sync(void);
441useconds_t ualarm(useconds_t, useconds_t);
442int usleep(useconds_t);
443pid_t vfork(void);
444
445/* See comment at ftruncate() above. */
446#ifndef _TRUNCATE_DECLARED
447#define _TRUNCATE_DECLARED

--- 104 unchanged lines hidden ---
445void sync(void);
446useconds_t ualarm(useconds_t, useconds_t);
447int usleep(useconds_t);
448pid_t vfork(void);
449
450/* See comment at ftruncate() above. */
451#ifndef _TRUNCATE_DECLARED
452#define _TRUNCATE_DECLARED

--- 104 unchanged lines hidden ---