thr_syscalls.c (bb535300dd871731b2542594a917bc2892479ca0) | thr_syscalls.c (7d9d7ca2ed3e3d630e63482c41f2d26194129c2c) |
---|---|
1/* 2 * Copyright (c) 2000 Jason Evans <jasone@freebsd.org>. 3 * Copyright (c) 2002 Daniel M. Eischen <deischen@freebsd.org> 4 * Copyright (c) 2003 Jeff Roberson <jeff@freebsd.org> 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 76 unchanged lines hidden (view full) --- 85#include <stdio.h> 86#include <stdlib.h> 87#include <string.h> 88#include <termios.h> 89#include <unistd.h> 90 91#include "thr_private.h" 92 | 1/* 2 * Copyright (c) 2000 Jason Evans <jasone@freebsd.org>. 3 * Copyright (c) 2002 Daniel M. Eischen <deischen@freebsd.org> 4 * Copyright (c) 2003 Jeff Roberson <jeff@freebsd.org> 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 76 unchanged lines hidden (view full) --- 85#include <stdio.h> 86#include <stdlib.h> 87#include <string.h> 88#include <termios.h> 89#include <unistd.h> 90 91#include "thr_private.h" 92 |
93extern int __creat(const char *, mode_t); 94extern int __sleep(unsigned int); 95extern int __sys_nanosleep(const struct timespec *, struct timespec *); 96extern int __sys_select(int, fd_set *, fd_set *, fd_set *, struct timeval *); 97extern int __system(const char *); 98extern int __tcdrain(int); 99extern pid_t __wait(int *); 100extern pid_t _wait4(pid_t, int *, int, struct rusage *); 101extern pid_t __waitpid(pid_t, int *, int); 102 |
|
93__weak_reference(_aio_suspend, aio_suspend); 94 95int 96_aio_suspend(const struct aiocb * const iocbs[], int niocb, const struct 97 timespec *timeout) 98{ 99 int ret; 100 --- 318 unchanged lines hidden --- | 103__weak_reference(_aio_suspend, aio_suspend); 104 105int 106_aio_suspend(const struct aiocb * const iocbs[], int niocb, const struct 107 timespec *timeout) 108{ 109 int ret; 110 --- 318 unchanged lines hidden --- |