pang-o-lin/include/io.h

14 lines
310 B
C
Raw Normal View History

#ifndef PANG_O_LIN_IO_H__
#define PANG_O_LIN_IO_H__
#include <sys/types.h>
#ifdef unix
#include <unistd.h>
#endif
ssize_t pang_write(int fd, const void *buf, size_t count);
ssize_t pang_read(int fd, void *buf, size_t count);
off_t pang_seek(int fd, off_t offset, int whence);
#endif /* PANG_O_LIN_IO_H__ */