| OLD | NEW |
| (Empty) |
| 1 /* | |
| 2 * Copyright 2010 The Native Client Authors. All rights reserved. | |
| 3 * Use of this source code is governed by a BSD-style license that can | |
| 4 * be found in the LICENSE file. | |
| 5 */ | |
| 6 | |
| 7 | |
| 8 /* | |
| 9 * Stub routine for `pselect' for porting support. | |
| 10 */ | |
| 11 | |
| 12 #include <sys/time.h> | |
| 13 #include <sys/types.h> | |
| 14 #include <sys/signal.h> | |
| 15 #include <unistd.h> | |
| 16 #include <errno.h> | |
| 17 | |
| 18 int pselect(int n, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, | |
| 19 const struct timespec *timeout, const sigset_t *sigmask) { | |
| 20 errno = ENOSYS; | |
| 21 return -1; | |
| 22 } | |
| 23 | |
| 24 #include "native_client/src/untrusted/nosys/warning.h" | |
| 25 stub_warning(pselect); | |
| OLD | NEW |