os/ossrv/genericopenlibs/openenvcore/libc/include/un-namespace.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     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.13.12.1 2005/10/08 17:56:33 delphij 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		flockfile
    48 #undef		fpathconf
    49 #undef		fstat
    50 #undef		fstatfs
    51 #undef		fsync
    52 #undef		funlockfile
    53 #undef		getdirentries
    54 #undef		getlogin
    55 #undef		getpeername
    56 #undef		getprogname
    57 #undef		getsockname
    58 #undef		getsockopt
    59 #undef		ioctl
    60 #undef		kevent
    61 #undef		listen
    62 #undef		nanosleep
    63 #undef		open
    64 #undef		poll
    65 #undef		pthread_cond_broadcast
    66 #undef		pthread_cond_destroy
    67 #undef		pthread_cond_init
    68 #undef		pthread_cond_signal
    69 #undef		pthread_cond_timedwait
    70 #undef		pthread_cond_wait
    71 #undef		pthread_exit
    72 #undef		pthread_getspecific
    73 #undef		pthread_key_create
    74 #undef		pthread_key_delete
    75 #undef		pthread_main_np
    76 #undef		pthread_mutex_destroy
    77 #undef		pthread_mutex_init
    78 #undef		pthread_mutex_lock
    79 #undef		pthread_mutex_trylock
    80 #undef		pthread_mutex_unlock
    81 #undef		pthread_mutexattr_init
    82 #undef		pthread_mutexattr_destroy
    83 #undef		pthread_mutexattr_settype
    84 #undef		pthread_once
    85 #undef		pthread_rwlock_destroy
    86 #undef		pthread_rwlock_init
    87 #undef		pthread_rwlock_rdlock
    88 #undef		pthread_rwlock_wrlock
    89 #undef		pthread_rwlock_tryrdlock
    90 #undef		pthread_rwlock_trywrlock
    91 #undef		pthread_rwlock_unlock
    92 #undef		pthread_self
    93 #undef		pthread_setspecific
    94 #undef		pthread_sigmask
    95 #undef		read
    96 #undef		readv
    97 #undef		recvfrom
    98 #undef		recvmsg
    99 #undef		select
   100 #undef		sendmsg
   101 #undef		sendto
   102 #undef		setsockopt
   103 #undef		sigaction
   104 #undef		sigprocmask
   105 #undef		sigsuspend
   106 #undef		socket
   107 #undef		socketpair
   108 #undef		usleep
   109 #undef		wait4
   110 #undef		waitpid
   111 #undef		write
   112 #undef		writev
   113 
   114 #if 0
   115 #undef		creat
   116 #undef		fchflags
   117 #undef		fchmod
   118 #undef		ftrylockfile
   119 #undef		msync
   120 #undef		nfssvc
   121 #undef		pause
   122 #undef		pthread_rwlockattr_init
   123 #undef		pthread_rwlockattr_destroy
   124 #undef		sched_yield
   125 #undef		sendfile
   126 #undef		shutdown
   127 #undef		sigaltstack
   128 #undef		sigpending
   129 #undef		sigreturn
   130 #undef		sigsetmask
   131 #undef		sleep
   132 #undef		system
   133 #undef		tcdrain
   134 #undef		wait
   135 #endif	/* 0 */
   136 
   137 #ifdef _SIGNAL_H_
   138 int     	_sigaction(int, const struct sigaction *, struct sigaction *);
   139 #endif
   140 
   141 #ifdef _SYS_EVENT_H_
   142 int		_kevent(int, const struct kevent *, int, struct kevent *,
   143 		    int, const struct timespec *);
   144 #endif
   145 
   146 #ifdef _SYS_FCNTL_H_
   147 int		_flock(int, int);
   148 #endif
   149 
   150 #undef		err
   151 #undef		warn
   152 #undef		nsdispatch
   153 
   154 #endif	/* _UN_NAMESPACE_H_ */