15 lines
313 B
C
15 lines
313 B
C
|
#include "io.h"
|
||
|
|
||
|
#ifdef unix
|
||
|
ssize_t pang_write(int fd, const void *buf, size_t count) {
|
||
|
return write(fd, buf, count);
|
||
|
}
|
||
|
|
||
|
ssize_t pang_read(int fd, void *buf, size_t count) {
|
||
|
return read(fd, buf, count);
|
||
|
}
|
||
|
|
||
|
off_t pang_seek(int fd, off_t offset, int whence) {
|
||
|
return lseek(fd, offset, whence);
|
||
|
}
|
||
|
#endif
|