patch-2.3.15 linux/fs/select.c
Next file: linux/fs/stat.c
Previous file: linux/fs/readdir.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Mon Aug 23 11:15:53 1999
- Orig file:
v2.3.14/linux/fs/select.c
- Orig date:
Wed Jul 28 13:52:38 1999
diff -u --recursive --new-file v2.3.14/linux/fs/select.c linux/fs/select.c
@@ -237,7 +237,7 @@
#define MAX_SELECT_SECONDS \
((unsigned long) (MAX_SCHEDULE_TIMEOUT / HZ)-1)
-asmlinkage int
+asmlinkage long
sys_select(int n, fd_set *inp, fd_set *outp, fd_set *exp, struct timeval *tvp)
{
fd_set_bits fds;
@@ -371,7 +371,7 @@
return count;
}
-asmlinkage int sys_poll(struct pollfd * ufds, unsigned int nfds, long timeout)
+asmlinkage long sys_poll(struct pollfd * ufds, unsigned int nfds, long timeout)
{
int i, fdcount, err, size;
struct pollfd * fds, *fds1;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)