source: rtems-libbsd/freebsd/lib/libc/include/un-namespace.h

6-freebsd-12
Last change on this file was 3489e3b, checked in by Sebastian Huber <sebastian.huber@…>, on 08/22/18 at 12:59:50

Update to FreeBSD head 2018-09-17

Git mirror commit 6c2192b1ef8c50788c751f878552526800b1e319.

Update #3472.

  • Property mode set to 100644
File size: 7.0 KB
Line 
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3 *
4 * Copyright (c) 2001 Daniel Eischen <deischen@FreeBSD.org>.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:
10 * 1. Redistributions of source code must retain the above copyright
11 *    notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright
13 *    notice, this list of conditions and the following disclaimer in the
14 *    documentation and/or other materials provided with the distribution.
15 *
16 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
17 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19 * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
20 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 *
28 * $FreeBSD$
29 */
30
31#ifndef _UN_NAMESPACE_H_
32#define _UN_NAMESPACE_H_
33
34#ifdef __rtems__
35#undef          accept
36#undef          __acl_aclcheck_fd
37#undef          __acl_delete_fd
38#undef          __acl_get_fd
39#undef          __acl_set_fd
40#undef          bind
41#undef          __cap_get_fd
42#undef          __cap_set_fd
43#undef          clock_nanosleep
44#undef          close
45#undef          connect
46#undef          dup
47#undef          dup2
48#undef          execve
49#undef          fcntl
50#undef          flock
51#undef          flockfile
52#undef          fpathconf
53#undef          fstat
54#undef          fstatfs
55#undef          fsync
56#undef          funlockfile
57#undef          getdirentries
58#undef          getlogin
59#undef          getpeername
60#undef          getprogname
61#undef          getsockname
62#undef          getsockopt
63#undef          ioctl
64#undef          kevent
65#undef          listen
66#undef          nanosleep
67#undef          open
68#undef          openat
69#undef          poll
70#undef          pthread_atfork
71#undef          pthread_attr_destroy
72#undef          pthread_attr_get_np
73#undef          pthread_attr_getaffinity_np
74#undef          pthread_attr_getdetachstate
75#undef          pthread_attr_getguardsize
76#undef          pthread_attr_getinheritsched
77#undef          pthread_attr_getschedparam
78#undef          pthread_attr_getschedpolicy
79#undef          pthread_attr_getscope
80#undef          pthread_attr_getstack
81#undef          pthread_attr_getstackaddr
82#undef          pthread_attr_getstacksize
83#undef          pthread_attr_init
84#undef          pthread_attr_setaffinity_np
85#undef          pthread_attr_setcreatesuspend_np
86#undef          pthread_attr_setdetachstate
87#undef          pthread_attr_setguardsize
88#undef          pthread_attr_setinheritsched
89#undef          pthread_attr_setschedparam
90#undef          pthread_attr_setschedpolicy
91#undef          pthread_attr_setscope
92#undef          pthread_attr_setstack
93#undef          pthread_attr_setstackaddr
94#undef          pthread_attr_setstacksize
95#undef          pthread_barrier_destroy
96#undef          pthread_barrier_init
97#undef          pthread_barrier_wait
98#undef          pthread_barrierattr_destroy
99#undef          pthread_barrierattr_getpshared
100#undef          pthread_barrierattr_init
101#undef          pthread_barrierattr_setpshared
102#undef          pthread_cancel
103#undef          pthread_cond_broadcast
104#undef          pthread_cond_destroy
105#undef          pthread_cond_init
106#undef          pthread_cond_signal
107#undef          pthread_cond_timedwait
108#undef          pthread_cond_wait
109#undef          pthread_condattr_destroy
110#undef          pthread_condattr_getclock
111#undef          pthread_condattr_getpshared
112#undef          pthread_condattr_init
113#undef          pthread_condattr_setclock
114#undef          pthread_condattr_setpshared
115#undef          pthread_create
116#undef          pthread_detach
117#undef          pthread_equal
118#undef          pthread_exit
119#undef          pthread_get_name_np
120#undef          pthread_getaffinity_np
121#undef          pthread_getconcurrency
122#undef          pthread_getcpuclockid
123#undef          pthread_getprio
124#undef          pthread_getschedparam
125#undef          pthread_getspecific
126#undef          pthread_getthreadid_np
127#undef          pthread_join
128#undef          pthread_key_create
129#undef          pthread_key_delete
130#undef          pthread_kill
131#undef          pthread_main_np
132#undef          pthread_multi_np
133#undef          pthread_mutex_destroy
134#undef          pthread_mutex_getprioceiling
135#undef          pthread_mutex_init
136#undef          pthread_mutex_isowned_np
137#undef          pthread_mutex_lock
138#undef          pthread_mutex_setprioceiling
139#undef          pthread_mutex_timedlock
140#undef          pthread_mutex_trylock
141#undef          pthread_mutex_unlock
142#undef          pthread_mutexattr_destroy
143#undef          pthread_mutexattr_getkind_np
144#undef          pthread_mutexattr_getprioceiling
145#undef          pthread_mutexattr_getprotocol
146#undef          pthread_mutexattr_getpshared
147#undef          pthread_mutexattr_gettype
148#undef          pthread_mutexattr_init
149#undef          pthread_mutexattr_setkind_np
150#undef          pthread_mutexattr_setprioceiling
151#undef          pthread_mutexattr_setprotocol
152#undef          pthread_mutexattr_setpshared
153#undef          pthread_mutexattr_settype
154#undef          pthread_once
155#undef          pthread_resume_all_np
156#undef          pthread_resume_np
157#undef          pthread_rwlock_destroy
158#undef          pthread_rwlock_init
159#undef          pthread_rwlock_rdlock
160#undef          pthread_rwlock_timedrdlock
161#undef          pthread_rwlock_timedwrlock
162#undef          pthread_rwlock_tryrdlock
163#undef          pthread_rwlock_trywrlock
164#undef          pthread_rwlock_unlock
165#undef          pthread_rwlock_wrlock
166#undef          pthread_rwlockattr_destroy
167#undef          pthread_rwlockattr_getpshared
168#undef          pthread_rwlockattr_init
169#undef          pthread_rwlockattr_setpshared
170#undef          pthread_self
171#undef          pthread_set_name_np
172#undef          pthread_setaffinity_np
173#undef          pthread_setcancelstate
174#undef          pthread_setcanceltype
175#undef          pthread_setconcurrency
176#undef          pthread_setprio
177#undef          pthread_setschedparam
178#undef          pthread_setspecific
179#undef          pthread_sigmask
180#undef          pthread_single_np
181#undef          pthread_spin_destroy
182#undef          pthread_spin_init
183#undef          pthread_spin_lock
184#undef          pthread_spin_trylock
185#undef          pthread_spin_unlock
186#undef          pthread_suspend_all_np
187#undef          pthread_suspend_np
188#undef          pthread_switch_add_np
189#undef          pthread_switch_delete_np
190#undef          pthread_testcancel
191#undef          pthread_timedjoin_np
192#undef          pthread_yield
193#undef          read
194#undef          readv
195#undef          recvfrom
196#undef          recvmsg
197#undef          recvmmsg
198#undef          select
199#undef          sem_close
200#undef          sem_destroy
201#undef          sem_getvalue
202#undef          sem_init
203#undef          sem_open
204#undef          sem_post
205#undef          sem_timedwait
206#undef          sem_clockwait_np
207#undef          sem_trywait
208#undef          sem_unlink
209#undef          sem_wait
210#undef          sendmsg
211#undef          sendmmsg
212#undef          sendto
213#undef          setsockopt
214#undef          sigaction
215#undef          sigprocmask
216#undef          sigsuspend
217#undef          socket
218#undef          socketpair
219#undef          usleep
220#undef          wait4
221#undef          wait6
222#undef          waitpid
223#undef          write
224#undef          writev
225
226#if 0
227#undef          creat
228#undef          fchflags
229#undef          fchmod
230#undef          ftrylockfile
231#undef          msync
232#undef          nfssvc
233#undef          pause
234#undef          sched_yield
235#undef          sendfile
236#undef          shutdown
237#undef          sigaltstack
238#undef          sigpending
239#undef          sigreturn
240#undef          sigsetmask
241#undef          sleep
242#undef          system
243#undef          tcdrain
244#undef          wait
245#endif  /* 0 */
246
247#ifdef _SIGNAL_H_
248int             _sigaction(int, const struct sigaction *, struct sigaction *);
249#endif
250
251#ifdef _SYS_EVENT_H_
252int             _kevent(int, const struct kevent *, int, struct kevent *,
253                    int, const struct timespec *);
254#endif
255
256#ifdef _SYS_FCNTL_H_
257int             _flock(int, int);
258#endif
259
260#undef          err
261#undef          warn
262#undef          nsdispatch
263#endif /* __rtems__ */
264
265#endif  /* _UN_NAMESPACE_H_ */
Note: See TracBrowser for help on using the repository browser.