Merge from vendor branch CVS:
[dragonfly.git] / lib / libc / include / un-namespace.h
1 /*
2  * Copyright (c) 2001 Daniel Eischen <deischen@FreeBSD.org>.
3  * 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
9  *    notice, this list of conditions and the following disclaimer.
10  * 2. Redistributions in binary form must reproduce the above copyright
11  *    notice, this list of conditions and the following disclaimer in the
12  *    documentation and/or other materials provided with the distribution.
13  *
14  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
18  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24  * SUCH DAMAGE.
25  *
26  * $FreeBSD: /repoman/r/ncvs/src/lib/libc/include/un-namespace.h,v 1.1 2001/01/24 13:00:09 deischen Exp $
27  * $DragonFly: src/lib/libc/include/un-namespace.h,v 1.1 2005/01/31 22:29:29 dillon Exp $
28  */
29
30 #ifndef _UN_NAMESPACE_H_
31 #define _UN_NAMESPACE_H_
32
33 #undef          accept
34 #undef          bind
35 #undef          close
36 #undef          connect
37 #undef          dup
38 #undef          dup2
39 #undef          execve
40 #undef          fcntl
41 #undef          flock
42 #undef          flockfile
43 #undef          fstat
44 #undef          fstatfs
45 #undef          fsync
46 #undef          funlockfile
47 #undef          getdirentries
48 #undef          getlogin
49 #undef          getpeername
50 #undef          getsockname
51 #undef          getsockopt
52 #undef          ioctl
53 #undef          kevent
54 #undef          listen
55 #undef          nanosleep
56 #undef          open
57 #undef          pthread_getspecific
58 #undef          pthread_key_create
59 #undef          pthread_key_delete
60 #undef          pthread_mutex_destroy
61 #undef          pthread_mutex_init
62 #undef          pthread_mutex_lock
63 #undef          pthread_mutex_trylock
64 #undef          pthread_mutex_unlock
65 #undef          pthread_mutexattr_init
66 #undef          pthread_mutexattr_destroy
67 #undef          pthread_mutexattr_settype
68 #undef          pthread_once
69 #undef          pthread_setspecific
70 #undef          read
71 #undef          readv
72 #undef          recvfrom
73 #undef          recvmsg
74 #undef          select
75 #undef          sendmsg
76 #undef          sendto
77 #undef          setsockopt
78 #undef          sigaction
79 #undef          sigprocmask
80 #undef          sigsuspend
81 #undef          socket
82 #undef          socketpair
83 #undef          wait4
84 #undef          write
85 #undef          writev
86
87 #if 0
88 #undef          creat
89 #undef          fchflags
90 #undef          fchmod
91 #undef          fpathconf
92 #undef          ftrylockfile
93 #undef          msync
94 #undef          nfssvc
95 #undef          pause
96 #undef          poll
97 #undef          pthread_rwlock_destroy
98 #undef          pthread_rwlock_init
99 #undef          pthread_rwlock_rdlock
100 #undef          pthread_rwlock_tryrdlock
101 #undef          pthread_rwlock_trywrlock
102 #undef          pthread_rwlock_unlock
103 #undef          pthread_rwlock_wrlock
104 #undef          pthread_rwlockattr_init
105 #undef          pthread_rwlockattr_destroy
106 #undef          pthread_self
107 #undef          sched_yield
108 #undef          sendfile
109 #undef          shutdown
110 #undef          sigaltstack
111 #undef          signanosleep
112 #undef          sigpending
113 #undef          sigreturn
114 #undef          sigsetmask
115 #undef          sleep
116 #undef          system
117 #undef          tcdrain
118 #undef          wait
119 #undef          waitpid
120 #endif  /* 0 */
121
122 #ifdef _SIGNAL_H_
123 int             _sigaction(int, const struct sigaction *, struct sigaction *);
124 #endif
125
126 #ifdef _SYS_EVENT_H_
127 int             _kevent(int, const struct kevent *, int, struct kevent *,
128                     int, const struct timespec *);
129 #endif
130
131 #ifdef _SYS_FCNTL_H_
132 int             _flock(int, int);
133 #endif
134
135 #endif  /* _UN_NAMESPACE_H_ */
136