Deleted Added
full compact
libc_private.h (281454) libc_private.h (281981)
1/*
2 * Copyright (c) 1998 John Birrell <jb@cimlogic.com.au>.
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

--- 12 unchanged lines hidden (view full) ---

21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
1/*
2 * Copyright (c) 1998 John Birrell <jb@cimlogic.com.au>.
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

--- 12 unchanged lines hidden (view full) ---

21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * $FreeBSD: stable/10/lib/libc/include/libc_private.h 281454 2015-04-12 06:52:43Z kib $
29 * $FreeBSD: stable/10/lib/libc/include/libc_private.h 281981 2015-04-25 08:14:08Z kib $
30 *
31 * Private definitions for libc, libc_r and libpthread.
32 *
33 */
34
35#ifndef _LIBC_PRIVATE_H_
36#define _LIBC_PRIVATE_H_
37#include <sys/_types.h>

--- 179 unchanged lines hidden (view full) ---

217 INTERPOS_readv,
218 INTERPOS_wait4,
219 INTERPOS_write,
220 INTERPOS_writev,
221 INTERPOS__pthread_mutex_init_calloc_cb,
222 INTERPOS_spinlock,
223 INTERPOS_spinunlock,
224 INTERPOS_kevent,
30 *
31 * Private definitions for libc, libc_r and libpthread.
32 *
33 */
34
35#ifndef _LIBC_PRIVATE_H_
36#define _LIBC_PRIVATE_H_
37#include <sys/_types.h>

--- 179 unchanged lines hidden (view full) ---

217 INTERPOS_readv,
218 INTERPOS_wait4,
219 INTERPOS_write,
220 INTERPOS_writev,
221 INTERPOS__pthread_mutex_init_calloc_cb,
222 INTERPOS_spinlock,
223 INTERPOS_spinunlock,
224 INTERPOS_kevent,
225 INTERPOS_wait6,
226 INTERPOS_ppoll,
225 INTERPOS_MAX
226};
227
228/*
229 * yplib internal interfaces
230 */
231#ifdef YP
232int _yp_check(char **);

--- 67 unchanged lines hidden (view full) ---

300struct rusage;
301struct sigaction;
302struct sockaddr;
303struct timespec;
304struct timeval;
305struct timezone;
306struct __siginfo;
307struct __ucontext;
227 INTERPOS_MAX
228};
229
230/*
231 * yplib internal interfaces
232 */
233#ifdef YP
234int _yp_check(char **);

--- 67 unchanged lines hidden (view full) ---

302struct rusage;
303struct sigaction;
304struct sockaddr;
305struct timespec;
306struct timeval;
307struct timezone;
308struct __siginfo;
309struct __ucontext;
310struct __wrusage;
311enum idtype;
308int __sys_aio_suspend(const struct aiocb * const[], int,
309 const struct timespec *);
310int __sys_accept(int, struct sockaddr *, __socklen_t *);
311int __sys_accept4(int, struct sockaddr *, __socklen_t *, int);
312int __sys_clock_gettime(__clockid_t, struct timespec *ts);
313int __sys_close(int);
314int __sys_connect(int, const struct sockaddr *, __socklen_t);
315int __sys_fcntl(int, int, ...);

--- 8 unchanged lines hidden (view full) ---

324int __sys_msync(void *, __size_t, int);
325int __sys_nanosleep(const struct timespec *, struct timespec *);
326int __sys_open(const char *, int, ...);
327int __sys_openat(int, const char *, int, ...);
328int __sys_pselect(int, struct fd_set *, struct fd_set *,
329 struct fd_set *, const struct timespec *,
330 const __sigset_t *);
331int __sys_poll(struct pollfd *, unsigned, int);
312int __sys_aio_suspend(const struct aiocb * const[], int,
313 const struct timespec *);
314int __sys_accept(int, struct sockaddr *, __socklen_t *);
315int __sys_accept4(int, struct sockaddr *, __socklen_t *, int);
316int __sys_clock_gettime(__clockid_t, struct timespec *ts);
317int __sys_close(int);
318int __sys_connect(int, const struct sockaddr *, __socklen_t);
319int __sys_fcntl(int, int, ...);

--- 8 unchanged lines hidden (view full) ---

328int __sys_msync(void *, __size_t, int);
329int __sys_nanosleep(const struct timespec *, struct timespec *);
330int __sys_open(const char *, int, ...);
331int __sys_openat(int, const char *, int, ...);
332int __sys_pselect(int, struct fd_set *, struct fd_set *,
333 struct fd_set *, const struct timespec *,
334 const __sigset_t *);
335int __sys_poll(struct pollfd *, unsigned, int);
336int __sys_ppoll(struct pollfd *, unsigned, const struct timespec *,
337 const __sigset_t *);
332__ssize_t __sys_pread(int, void *, __size_t, __off_t);
333__ssize_t __sys_pwrite(int, const void *, __size_t, __off_t);
334__ssize_t __sys_read(int, void *, __size_t);
335__ssize_t __sys_readv(int, const struct iovec *, int);
336__ssize_t __sys_recv(int, void *, __size_t, int);
337__ssize_t __sys_recvfrom(int, void *, __size_t, int, struct sockaddr *,
338 __socklen_t *);
339__ssize_t __sys_recvmsg(int, struct msghdr *, int);

--- 12 unchanged lines hidden (view full) ---

352int __sys_sigwait(const __sigset_t *, int *);
353int __sys_sigwaitinfo(const __sigset_t *, struct __siginfo *);
354int __sys_swapcontext(struct __ucontext *,
355 const struct __ucontext *);
356int __sys_thr_kill(long, int);
357int __sys_thr_self(long *);
358int __sys_truncate(const char *, __off_t);
359__pid_t __sys_wait4(__pid_t, int *, int, struct rusage *);
338__ssize_t __sys_pread(int, void *, __size_t, __off_t);
339__ssize_t __sys_pwrite(int, const void *, __size_t, __off_t);
340__ssize_t __sys_read(int, void *, __size_t);
341__ssize_t __sys_readv(int, const struct iovec *, int);
342__ssize_t __sys_recv(int, void *, __size_t, int);
343__ssize_t __sys_recvfrom(int, void *, __size_t, int, struct sockaddr *,
344 __socklen_t *);
345__ssize_t __sys_recvmsg(int, struct msghdr *, int);

--- 12 unchanged lines hidden (view full) ---

358int __sys_sigwait(const __sigset_t *, int *);
359int __sys_sigwaitinfo(const __sigset_t *, struct __siginfo *);
360int __sys_swapcontext(struct __ucontext *,
361 const struct __ucontext *);
362int __sys_thr_kill(long, int);
363int __sys_thr_self(long *);
364int __sys_truncate(const char *, __off_t);
365__pid_t __sys_wait4(__pid_t, int *, int, struct rusage *);
366__pid_t __sys_wait6(enum idtype, __id_t, int *, int,
367 struct __wrusage *, struct __siginfo *);
360__ssize_t __sys_write(int, const void *, __size_t);
361__ssize_t __sys_writev(int, const struct iovec *, int);
362
363int __libc_sigwait(const __sigset_t * __restrict,
364 int * restrict sig);
365int __libc_system(const char *);
366int __libc_tcdrain(int);
367int __fcntl_compat(int fd, int cmd, ...);

--- 13 unchanged lines hidden ---
368__ssize_t __sys_write(int, const void *, __size_t);
369__ssize_t __sys_writev(int, const struct iovec *, int);
370
371int __libc_sigwait(const __sigset_t * __restrict,
372 int * restrict sig);
373int __libc_system(const char *);
374int __libc_tcdrain(int);
375int __fcntl_compat(int fd, int cmd, ...);

--- 13 unchanged lines hidden ---