OSSP CVS Repository

ossp - Difference in ossp-pkg/pth/pth_syscall.c versions 1.25 and 1.26
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/pth/pth_syscall.c 1.25 -> 1.26

--- pth_syscall.c        2002/10/20 16:22:03     1.25
+++ pth_syscall.c        2002/10/25 11:56:16     1.26
@@ -401,6 +401,18 @@
 #endif
 }
 
+/* ==== Pth hard syscall wrapper for pselect(2) ==== */
+int pselect(int, fd_set *, fd_set *, fd_set *, const struct timespec *, const sigset_t *);
+int pselect(int nfds, fd_set *rfds, fd_set *wfds, fd_set *efds,
+            const struct timespec *ts, const sigset_t *mask)
+{
+    /* external entry point for application */
+    pth_implicit_init();
+    return pth_pselect(nfds, rfds, wfds, efds, ts, mask);
+}
+/* NOTICE: internally fully emulated, so still no
+   internal exit point pth_sc_pselect necessary! */
+
 /* ==== Pth hard syscall wrapper for poll(2) ==== */
 int poll(struct pollfd *pfd, nfds_t nfd, int timeout)
 {

CVSTrac 2.0.1