os/ossrv/genericopenlibs/openenvcore/libc/include/un-namespace.h
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/ossrv/genericopenlibs/openenvcore/libc/include/un-namespace.h	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,154 @@
     1.4 +/*
     1.5 + * Copyright (c) 2001 Daniel Eischen <deischen@FreeBSD.org>.
     1.6 + * All rights reserved.
     1.7 + *
     1.8 + * Redistribution and use in source and binary forms, with or without
     1.9 + * modification, are permitted provided that the following conditions
    1.10 + * are met:
    1.11 + * 1. Redistributions of source code must retain the above copyright
    1.12 + *    notice, this list of conditions and the following disclaimer.
    1.13 + * 2. Redistributions in binary form must reproduce the above copyright
    1.14 + *    notice, this list of conditions and the following disclaimer in the
    1.15 + *    documentation and/or other materials provided with the distribution.
    1.16 + *
    1.17 + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
    1.18 + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    1.19 + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    1.20 + * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
    1.21 + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
    1.22 + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
    1.23 + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    1.24 + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    1.25 + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
    1.26 + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    1.27 + * SUCH DAMAGE.
    1.28 + *
    1.29 + * $FreeBSD: src/lib/libc/include/un-namespace.h,v 1.13.12.1 2005/10/08 17:56:33 delphij Exp $
    1.30 + */
    1.31 +
    1.32 +#ifndef _UN_NAMESPACE_H_
    1.33 +#define _UN_NAMESPACE_H_
    1.34 +
    1.35 +#undef		accept
    1.36 +#undef		__acl_aclcheck_fd
    1.37 +#undef		__acl_delete_fd
    1.38 +#undef		__acl_get_fd
    1.39 +#undef		__acl_set_fd
    1.40 +#undef		bind
    1.41 +#undef		__cap_get_fd
    1.42 +#undef		__cap_set_fd
    1.43 +#undef		close
    1.44 +#undef		connect
    1.45 +#undef		dup
    1.46 +#undef		dup2
    1.47 +#undef		execve
    1.48 +#undef		fcntl
    1.49 +#undef		flock
    1.50 +#undef		flockfile
    1.51 +#undef		fpathconf
    1.52 +#undef		fstat
    1.53 +#undef		fstatfs
    1.54 +#undef		fsync
    1.55 +#undef		funlockfile
    1.56 +#undef		getdirentries
    1.57 +#undef		getlogin
    1.58 +#undef		getpeername
    1.59 +#undef		getprogname
    1.60 +#undef		getsockname
    1.61 +#undef		getsockopt
    1.62 +#undef		ioctl
    1.63 +#undef		kevent
    1.64 +#undef		listen
    1.65 +#undef		nanosleep
    1.66 +#undef		open
    1.67 +#undef		poll
    1.68 +#undef		pthread_cond_broadcast
    1.69 +#undef		pthread_cond_destroy
    1.70 +#undef		pthread_cond_init
    1.71 +#undef		pthread_cond_signal
    1.72 +#undef		pthread_cond_timedwait
    1.73 +#undef		pthread_cond_wait
    1.74 +#undef		pthread_exit
    1.75 +#undef		pthread_getspecific
    1.76 +#undef		pthread_key_create
    1.77 +#undef		pthread_key_delete
    1.78 +#undef		pthread_main_np
    1.79 +#undef		pthread_mutex_destroy
    1.80 +#undef		pthread_mutex_init
    1.81 +#undef		pthread_mutex_lock
    1.82 +#undef		pthread_mutex_trylock
    1.83 +#undef		pthread_mutex_unlock
    1.84 +#undef		pthread_mutexattr_init
    1.85 +#undef		pthread_mutexattr_destroy
    1.86 +#undef		pthread_mutexattr_settype
    1.87 +#undef		pthread_once
    1.88 +#undef		pthread_rwlock_destroy
    1.89 +#undef		pthread_rwlock_init
    1.90 +#undef		pthread_rwlock_rdlock
    1.91 +#undef		pthread_rwlock_wrlock
    1.92 +#undef		pthread_rwlock_tryrdlock
    1.93 +#undef		pthread_rwlock_trywrlock
    1.94 +#undef		pthread_rwlock_unlock
    1.95 +#undef		pthread_self
    1.96 +#undef		pthread_setspecific
    1.97 +#undef		pthread_sigmask
    1.98 +#undef		read
    1.99 +#undef		readv
   1.100 +#undef		recvfrom
   1.101 +#undef		recvmsg
   1.102 +#undef		select
   1.103 +#undef		sendmsg
   1.104 +#undef		sendto
   1.105 +#undef		setsockopt
   1.106 +#undef		sigaction
   1.107 +#undef		sigprocmask
   1.108 +#undef		sigsuspend
   1.109 +#undef		socket
   1.110 +#undef		socketpair
   1.111 +#undef		usleep
   1.112 +#undef		wait4
   1.113 +#undef		waitpid
   1.114 +#undef		write
   1.115 +#undef		writev
   1.116 +
   1.117 +#if 0
   1.118 +#undef		creat
   1.119 +#undef		fchflags
   1.120 +#undef		fchmod
   1.121 +#undef		ftrylockfile
   1.122 +#undef		msync
   1.123 +#undef		nfssvc
   1.124 +#undef		pause
   1.125 +#undef		pthread_rwlockattr_init
   1.126 +#undef		pthread_rwlockattr_destroy
   1.127 +#undef		sched_yield
   1.128 +#undef		sendfile
   1.129 +#undef		shutdown
   1.130 +#undef		sigaltstack
   1.131 +#undef		sigpending
   1.132 +#undef		sigreturn
   1.133 +#undef		sigsetmask
   1.134 +#undef		sleep
   1.135 +#undef		system
   1.136 +#undef		tcdrain
   1.137 +#undef		wait
   1.138 +#endif	/* 0 */
   1.139 +
   1.140 +#ifdef _SIGNAL_H_
   1.141 +int     	_sigaction(int, const struct sigaction *, struct sigaction *);
   1.142 +#endif
   1.143 +
   1.144 +#ifdef _SYS_EVENT_H_
   1.145 +int		_kevent(int, const struct kevent *, int, struct kevent *,
   1.146 +		    int, const struct timespec *);
   1.147 +#endif
   1.148 +
   1.149 +#ifdef _SYS_FCNTL_H_
   1.150 +int		_flock(int, int);
   1.151 +#endif
   1.152 +
   1.153 +#undef		err
   1.154 +#undef		warn
   1.155 +#undef		nsdispatch
   1.156 +
   1.157 +#endif	/* _UN_NAMESPACE_H_ */