Added prototypes for readv/writev() syscalls.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9766 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
9d171dd8f9
commit
424f90aff9
@ -158,7 +158,9 @@ extern int _kern_open_query(dev_t device, const char *query,
|
||||
|
||||
// file descriptor functions
|
||||
extern ssize_t _kern_read(int fd, off_t pos, void *buffer, size_t bufferSize);
|
||||
extern ssize_t _kern_readv(int fd, off_t pos, const iovec *vecs, size_t count);
|
||||
extern ssize_t _kern_write(int fd, off_t pos, const void *buffer, size_t bufferSize);
|
||||
extern ssize_t _kern_writev(int fd, off_t pos, const iovec *vecs, size_t count);
|
||||
extern status_t _kern_ioctl(int fd, ulong cmd, void *data, size_t length);
|
||||
extern ssize_t _kern_read_dir(int fd, struct dirent *buffer, size_t bufferSize, uint32 maxCount);
|
||||
extern status_t _kern_rewind_dir(int fd);
|
||||
|
@ -141,7 +141,9 @@ int _user_open_query(dev_t device, const char *query, uint32 flags,
|
||||
|
||||
/* fd user prototypes (implementation located in fd.c) */
|
||||
extern ssize_t _user_read(int fd, off_t pos, void *buffer, size_t bufferSize);
|
||||
extern ssize_t _user_readv(int fd, off_t pos, const iovec *vecs, size_t count);
|
||||
extern ssize_t _user_write(int fd, off_t pos, const void *buffer, size_t bufferSize);
|
||||
extern ssize_t _user_writev(int fd, off_t pos, const iovec *vecs, size_t count);
|
||||
extern status_t _user_ioctl(int fd, ulong cmd, void *data, size_t length);
|
||||
extern ssize_t _user_read_dir(int fd, struct dirent *buffer, size_t bufferSize, uint32 maxCount);
|
||||
extern status_t _user_rewind_dir(int fd);
|
||||
|
Loading…
Reference in New Issue
Block a user