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
This commit is contained in:
@@ -288,23 +288,23 @@ notify_select_event(struct selectsync *_sync, uint32 ref, uint8 event)
|
|||||||
// Functions called from the POSIX layer
|
// Functions called from the POSIX layer
|
||||||
|
|
||||||
|
|
||||||
int
|
ssize_t
|
||||||
sys_select(int numfds, fd_set *readSet, fd_set *writeSet, fd_set *errorSet,
|
_kern_select(int numfds, fd_set *readSet, fd_set *writeSet, fd_set *errorSet,
|
||||||
bigtime_t timeout, const sigset_t *sigMask)
|
bigtime_t timeout, const sigset_t *sigMask)
|
||||||
{
|
{
|
||||||
return common_select(numfds, readSet, writeSet, errorSet, timeout, sigMask, true);
|
return common_select(numfds, readSet, writeSet, errorSet, timeout, sigMask, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int
|
ssize_t
|
||||||
sys_poll(struct pollfd *fds, int numfds, bigtime_t timeout)
|
_kern_poll(struct pollfd *fds, int numfds, bigtime_t timeout)
|
||||||
{
|
{
|
||||||
return common_poll(fds, numfds, timeout, true);
|
return common_poll(fds, numfds, timeout, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int
|
ssize_t
|
||||||
user_select(int numfds, fd_set *userReadSet, fd_set *userWriteSet, fd_set *userErrorSet,
|
_user_select(int numfds, fd_set *userReadSet, fd_set *userWriteSet, fd_set *userErrorSet,
|
||||||
bigtime_t timeout, const sigset_t *userSigMask)
|
bigtime_t timeout, const sigset_t *userSigMask)
|
||||||
{
|
{
|
||||||
fd_set *readSet = NULL, *writeSet = NULL, *errorSet = NULL;
|
fd_set *readSet = NULL, *writeSet = NULL, *errorSet = NULL;
|
||||||
@@ -380,8 +380,8 @@ err:
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int
|
ssize_t
|
||||||
user_poll(struct pollfd *userfds, int numfds, bigtime_t timeout)
|
_user_poll(struct pollfd *userfds, int numfds, bigtime_t timeout)
|
||||||
{
|
{
|
||||||
struct pollfd *fds;
|
struct pollfd *fds;
|
||||||
size_t bytes;
|
size_t bytes;
|
||||||
|
|||||||
Reference in New Issue
Block a user