Added a few more functions to the host platform BeOS compatibility layer:
* thread related functions, * semaphore related functions, * atomic_*() functions, * readv_pos(), writev_pos(). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20858 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -22,7 +22,11 @@ extern size_t strnlen(const char *string, size_t length);
|
||||
|
||||
// BeOS only
|
||||
extern ssize_t read_pos(int fd, off_t pos, void *buffer, size_t count);
|
||||
extern ssize_t write_pos(int fd, off_t pos, const void *buffer,size_t count);
|
||||
extern ssize_t write_pos(int fd, off_t pos, const void *buffer, size_t count);
|
||||
extern ssize_t readv_pos(int fd, off_t pos, const struct iovec *vec,
|
||||
size_t count);
|
||||
extern ssize_t writev_pos(int fd, off_t pos, const struct iovec *vec,
|
||||
size_t count);
|
||||
|
||||
|
||||
// There's no O_NOTRAVERSE under Linux and FreeBSD, but there's a O_NOFOLLOW, which
|
||||
|
||||
Reference in New Issue
Block a user