mirror of
https://github.com/ShadauxCat/CATSFC.git
synced 2025-04-02 10:41:47 -04:00
22 lines
412 B
C
Executable file
22 lines
412 B
C
Executable file
#ifndef __libc_unistd_h__
|
|
#define __libc_unistd_h__
|
|
|
|
#include "fs_common.h"
|
|
#include "fatfile.h"
|
|
#include "fs_api.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
extern int close(int fildes);
|
|
extern int lseek(int fildes, int offset, int whence);
|
|
extern int read(int fildes, void* buf, size_t len);
|
|
extern int write(int fildes, const void* buf, size_t len);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|