source: trunk/libs/newlib/src/newlib/libc/sys/linux/net/un-namespace.h

Last change on this file was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 3.4 KB
Line 
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: src/lib/libc/include/un-namespace.h,v 1.7 2002/03/29 22:43:42 markm Exp $
27 */
28
29#ifndef _UN_NAMESPACE_H_
30#define _UN_NAMESPACE_H_
31
32#undef          accept
33#undef          __acl_aclcheck_fd
34#undef          __acl_delete_fd
35#undef          __acl_get_fd
36#undef          __acl_set_fd
37#undef          bind
38#undef          __cap_get_fd
39#undef          __cap_set_fd
40#undef          close
41#undef          connect
42#undef          dup
43#undef          dup2
44#undef          execve
45#undef          fcntl
46#undef          flock
47#undef          fstat
48#undef          fstatfs
49#undef          fsync
50#undef          getdirentries
51#undef          getlogin
52#undef          getpeername
53#undef          getprogname
54#undef          getsockname
55#undef          getsockopt
56#undef          ioctl
57#undef          listen
58#undef          nanosleep
59#undef          open
60#undef          pthread_getspecific
61#undef          pthread_key_create
62#undef          pthread_key_delete
63#undef          pthread_mutex_destroy
64#undef          pthread_mutex_init
65#undef          pthread_mutex_lock
66#undef          pthread_mutex_trylock
67#undef          pthread_mutex_unlock
68#undef          pthread_mutexattr_init
69#undef          pthread_mutexattr_destroy
70#undef          pthread_mutexattr_settype
71#undef          pthread_once
72#undef          pthread_self
73#undef          pthread_setspecific
74#undef          read
75#undef          readv
76#undef          recvfrom
77#undef          recvmsg
78#undef          select
79#undef          sendmsg
80#undef          sendto
81#undef          setsockopt
82#undef          sigaction
83#undef          sigprocmask
84#undef          sigsuspend
85#undef          socket
86#undef          socketpair
87#undef          wait4
88#undef          write
89#undef          writev
90
91#if 0
92#undef          creat
93#undef          fchflags
94#undef          fchmod
95#undef          fpathconf
96#undef          msync
97#undef          nfssvc
98#undef          pause
99#undef          poll
100#undef          pthread_rwlock_destroy
101#undef          pthread_rwlock_init
102#undef          pthread_rwlock_rdlock
103#undef          pthread_rwlock_tryrdlock
104#undef          pthread_rwlock_trywrlock
105#undef          pthread_rwlock_unlock
106#undef          pthread_rwlock_wrlock
107#undef          pthread_rwlockattr_init
108#undef          pthread_rwlockattr_destroy
109#undef          sched_yield
110#undef          sendfile
111#undef          shutdown
112#undef          sigaltstack
113#undef          sigpending
114#undef          sigreturn
115#undef          sigsetmask
116#undef          sleep
117#undef          system
118#undef          tcdrain
119#undef          wait
120#undef          waitpid
121#endif  /* 0 */
122
123#ifdef _SIGNAL_H_
124int             _sigaction(int, const struct sigaction *, struct sigaction *);
125#endif
126
127#ifdef _SYS_FCNTL_H_
128int             _flock(int, int);
129#endif
130
131#undef          err
132#undef          warn
133
134#endif  /* _UN_NAMESPACE_H_ */
Note: See TracBrowser for help on using the repository browser.