1*80b2da5eSIngo Weinhold /* 2*80b2da5eSIngo Weinhold * Copyright 2008, Ingo Weinhold, ingo_weinhold@gmx.de. 3*80b2da5eSIngo Weinhold * Distributed under the terms of the MIT License. 4*80b2da5eSIngo Weinhold */ 5*80b2da5eSIngo Weinhold #ifndef FS_FREEBSD_H 6*80b2da5eSIngo Weinhold #define FS_FREEBSD_H 7*80b2da5eSIngo Weinhold 8*80b2da5eSIngo Weinhold #include <sys/uio.h> 9*80b2da5eSIngo Weinhold 10*80b2da5eSIngo Weinhold 11*80b2da5eSIngo Weinhold ssize_t haiku_freebsd_read(int fd, void *buf, size_t nbytes); 12*80b2da5eSIngo Weinhold ssize_t haiku_freebsd_write(int fd, const void *buf, size_t nbytes); 13*80b2da5eSIngo Weinhold ssize_t haiku_freebsd_readv(int fd, const iovec *vecs, size_t count); 14*80b2da5eSIngo Weinhold ssize_t haiku_freebsd_writev(int fd, const struct iovec *vecs, size_t count); 15*80b2da5eSIngo Weinhold 16*80b2da5eSIngo Weinhold 17*80b2da5eSIngo Weinhold #endif // FS_FREEBSD_H 18