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