unistd.h (195458) | unistd.h (202274) |
---|---|
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 195458 2009-07-08 15:23:18Z trasz $ | 34 * $FreeBSD: head/include/unistd.h 202274 2010-01-14 05:35:32Z ed $ |
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> --- 526 unchanged lines hidden (view full) --- 569int setrgid(gid_t); 570int setruid(uid_t); 571void setusershell(void); 572int strtofflags(char **, u_long *, u_long *); 573int swapon(const char *); 574int swapoff(const char *); 575int syscall(int, ...); 576off_t __syscall(quad_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> --- 526 unchanged lines hidden (view full) --- 569int setrgid(gid_t); 570int setruid(uid_t); 571void setusershell(void); 572int strtofflags(char **, u_long *, u_long *); 573int swapon(const char *); 574int swapoff(const char *); 575int syscall(int, ...); 576off_t __syscall(quad_t, ...); |
577int ttyslot(void); | |
578int undelete(const char *); 579int unwhiteout(const char *); 580void *valloc(size_t); /* obsoleted by malloc() */ 581 582#ifndef _OPTRESET_DECLARED 583#define _OPTRESET_DECLARED 584extern int optreset; /* getopt(3) external variable */ 585#endif 586#endif /* __BSD_VISIBLE */ 587__END_DECLS 588 589#endif /* !_UNISTD_H_ */ | 577int undelete(const char *); 578int unwhiteout(const char *); 579void *valloc(size_t); /* obsoleted by malloc() */ 580 581#ifndef _OPTRESET_DECLARED 582#define _OPTRESET_DECLARED 583extern int optreset; /* getopt(3) external variable */ 584#endif 585#endif /* __BSD_VISIBLE */ 586__END_DECLS 587 588#endif /* !_UNISTD_H_ */ |