From c8a8e52f79c8eca5140d8ce2b038657484a68370 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Tue, 15 Jun 2004 15:29:37 +0000 Subject: [PATCH] Renamed VFS syscalls to the new style. Improved returned types. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7968 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/core/fs/vfs_select.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/kernel/core/fs/vfs_select.c b/src/kernel/core/fs/vfs_select.c index 4652ce527f..1ab1d4564d 100644 --- a/src/kernel/core/fs/vfs_select.c +++ b/src/kernel/core/fs/vfs_select.c @@ -288,23 +288,23 @@ notify_select_event(struct selectsync *_sync, uint32 ref, uint8 event) // Functions called from the POSIX layer -int -sys_select(int numfds, fd_set *readSet, fd_set *writeSet, fd_set *errorSet, +ssize_t +_kern_select(int numfds, fd_set *readSet, fd_set *writeSet, fd_set *errorSet, bigtime_t timeout, const sigset_t *sigMask) { return common_select(numfds, readSet, writeSet, errorSet, timeout, sigMask, true); } -int -sys_poll(struct pollfd *fds, int numfds, bigtime_t timeout) +ssize_t +_kern_poll(struct pollfd *fds, int numfds, bigtime_t timeout) { return common_poll(fds, numfds, timeout, true); } -int -user_select(int numfds, fd_set *userReadSet, fd_set *userWriteSet, fd_set *userErrorSet, +ssize_t +_user_select(int numfds, fd_set *userReadSet, fd_set *userWriteSet, fd_set *userErrorSet, bigtime_t timeout, const sigset_t *userSigMask) { fd_set *readSet = NULL, *writeSet = NULL, *errorSet = NULL; @@ -380,8 +380,8 @@ err: } -int -user_poll(struct pollfd *userfds, int numfds, bigtime_t timeout) +ssize_t +_user_poll(struct pollfd *userfds, int numfds, bigtime_t timeout) { struct pollfd *fds; size_t bytes;