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:
Ingo Weinhold
2007-04-27 12:11:30 +00:00
parent 727ad0b0a5
commit f38eff6aa2
6 changed files with 183 additions and 7 deletions
+5 -1
View File
@@ -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