xref: /haiku/src/build/libroot/fs_freebsd.h (revision 25a7b01d15612846f332751841da3579db313082)
1 /*
2  * Copyright 2008, Ingo Weinhold, ingo_weinhold@gmx.de.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef FS_FREEBSD_H
6 #define FS_FREEBSD_H
7 
8 #include <sys/uio.h>
9 
10 
11 __BEGIN_DECLS
12 
13 ssize_t haiku_freebsd_read(int fd, void *buf, size_t nbytes);
14 ssize_t haiku_freebsd_write(int fd, const void *buf, size_t nbytes);
15 ssize_t haiku_freebsd_readv(int fd, const struct iovec *vecs, size_t count);
16 ssize_t haiku_freebsd_writev(int fd, const struct iovec *vecs, size_t count);
17 
18 __END_DECLS
19 
20 #endif	/* FS_FREEBSD_H */
21