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 ssize_t haiku_freebsd_read(int fd, void *buf, size_t nbytes); 12 ssize_t haiku_freebsd_write(int fd, const void *buf, size_t nbytes); 13 ssize_t haiku_freebsd_readv(int fd, const iovec *vecs, size_t count); 14 ssize_t haiku_freebsd_writev(int fd, const struct iovec *vecs, size_t count); 15 16 17 #endif // FS_FREEBSD_H 18