Cygwin: mmap: allow remapping part of an existing anonymous mapping
[newlib-cygwin.git] / newlib / libc / posix / un-namespace.h
blob01d9b8fa0a5899f339b39428c60355f7948be350
1 /*
2 * Copyright (c) 2001 Daniel Eischen <deischen@FreeBSD.org>.
3 * All rights reserved.
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.
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.
26 * $FreeBSD: src/lib/libc/include/un-namespace.h,v 1.7 2002/03/29 22:43:42 markm Exp $
29 #ifndef _UN_NAMESPACE_H_
30 #define _UN_NAMESPACE_H_
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 kevent
58 #undef listen
59 #undef nanosleep
60 #undef open
61 #undef pthread_getspecific
62 #undef pthread_key_create
63 #undef pthread_key_delete
64 #undef pthread_mutex_destroy
65 #undef pthread_mutex_init
66 #undef pthread_mutex_lock
67 #undef pthread_mutex_trylock
68 #undef pthread_mutex_unlock
69 #undef pthread_mutexattr_init
70 #undef pthread_mutexattr_destroy
71 #undef pthread_mutexattr_settype
72 #undef pthread_once
73 #undef pthread_self
74 #undef pthread_setspecific
75 #undef read
76 #undef readv
77 #undef recvfrom
78 #undef recvmsg
79 #undef select
80 #undef sendmsg
81 #undef sendto
82 #undef setsockopt
83 #undef sigaction
84 #undef sigprocmask
85 #undef sigsuspend
86 #undef socket
87 #undef socketpair
88 #undef wait4
89 #undef write
90 #undef writev
92 #if 0
93 #undef creat
94 #undef fchflags
95 #undef fchmod
96 #undef fpathconf
97 #undef msync
98 #undef nfssvc
99 #undef pause
100 #undef poll
101 #undef pthread_rwlock_destroy
102 #undef pthread_rwlock_init
103 #undef pthread_rwlock_rdlock
104 #undef pthread_rwlock_tryrdlock
105 #undef pthread_rwlock_trywrlock
106 #undef pthread_rwlock_unlock
107 #undef pthread_rwlock_wrlock
108 #undef pthread_rwlockattr_init
109 #undef pthread_rwlockattr_destroy
110 #undef sched_yield
111 #undef sendfile
112 #undef shutdown
113 #undef sigaltstack
114 #undef sigpending
115 #undef sigreturn
116 #undef sigsetmask
117 #undef sleep
118 #undef system
119 #undef tcdrain
120 #undef wait
121 #undef waitpid
122 #endif /* 0 */
124 #ifdef _SIGNAL_H_
125 int _sigaction(int, const struct sigaction *, struct sigaction *);
126 #endif
128 #ifdef _SYS_EVENT_H_
129 int _kevent(int, const struct kevent *, int, struct kevent *,
130 int, const struct timespec *);
131 #endif
133 #ifdef _SYS_FCNTL_H_
134 int _flock(int, int);
135 #endif
137 #undef err
138 #undef warn
140 #endif /* _UN_NAMESPACE_H_ */