Files
rosetta/lib/libc/include/unistd.h

16 lines
324 B
C

#ifndef UNISTD_H_
#define UNISTD_H_
#include <stddef.h>
#include <sys/types.h>
extern int open(const char *path, int flags);
extern int close(int fd);
extern int read(int fd, void *buf, size_t count);
extern int write(int fd, const void *buf, size_t count);
extern off_t lseek(int fd, off_t offset, int whence);
#endif