Files
MontaukOS/programs/include/libc/unistd.h
T

22 lines
348 B
C

#ifndef _LIBC_UNISTD_H
#define _LIBC_UNISTD_H
#pragma once
#include <stddef.h>
#ifdef __cplusplus
extern "C" {
#endif
int read(int fd, void *buf, size_t count);
int write(int fd, const void *buf, size_t count);
int close(int fd);
long lseek(int fd, long offset, int whence);
#ifdef __cplusplus
}
#endif
#endif /* _LIBC_UNISTD_H */