180b2da5eSIngo Weinhold /* 280b2da5eSIngo Weinhold * Copyright 2008, Ingo Weinhold, ingo_weinhold@gmx.de. 380b2da5eSIngo Weinhold * Distributed under the terms of the MIT License. 480b2da5eSIngo Weinhold */ 580b2da5eSIngo Weinhold #ifndef FS_FREEBSD_H 680b2da5eSIngo Weinhold #define FS_FREEBSD_H 780b2da5eSIngo Weinhold 880b2da5eSIngo Weinhold #include <sys/uio.h> 980b2da5eSIngo Weinhold 1080b2da5eSIngo Weinhold 11*efeef5faSJohn Scipione __BEGIN_DECLS 12*efeef5faSJohn Scipione 1380b2da5eSIngo Weinhold ssize_t haiku_freebsd_read(int fd, void *buf, size_t nbytes); 1480b2da5eSIngo Weinhold ssize_t haiku_freebsd_write(int fd, const void *buf, size_t nbytes); 15*efeef5faSJohn Scipione ssize_t haiku_freebsd_readv(int fd, const struct iovec *vecs, size_t count); 1680b2da5eSIngo Weinhold ssize_t haiku_freebsd_writev(int fd, const struct iovec *vecs, size_t count); 1780b2da5eSIngo Weinhold 18*efeef5faSJohn Scipione __END_DECLS 19*efeef5faSJohn Scipione 20e4e68917SJohn Scipione #endif /* FS_FREEBSD_H */ 21