aboutsummaryrefslogtreecommitdiff
path: root/sdk-modifications/libsrc/fs/ds2_unistd.h
blob: f5efdb1a041a1abcd02eb2e673a0c1bbf9635816 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#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