Last change
on this file since 429 was 374, checked in by coas-nagasima, 5 years ago |
mbed関連を更新
シリアルドライバをmbedのHALを使うよう変更
ファイルディスクリプタの処理を更新
|
-
Property charset
set to
UTF-8
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/x-chdr
|
File size:
452 bytes
|
Rev | Line | |
---|
[374] | 1 | #ifndef RETARGET_H
|
---|
| 2 | #define RETARGET_H
|
---|
| 3 |
|
---|
| 4 | #ifdef __cplusplus
|
---|
| 5 | #include <cstdio>
|
---|
| 6 | #else
|
---|
| 7 | #include <stdio.h>
|
---|
| 8 | #endif //__cplusplus
|
---|
| 9 |
|
---|
| 10 | #include <errno.h>
|
---|
| 11 | #include <dirent.h>
|
---|
| 12 | #include <fcntl.h>
|
---|
| 13 | #include <sys/ioctl.h>
|
---|
| 14 | #include <sys/types.h>
|
---|
| 15 | #include <sys/stat.h>
|
---|
| 16 | #include <sys/statvfs.h>
|
---|
| 17 | #include <unistd.h>
|
---|
| 18 |
|
---|
| 19 | #ifdef __cplusplus
|
---|
| 20 | namespace mbed {
|
---|
| 21 |
|
---|
| 22 | class FileHandle;
|
---|
| 23 | class DirHandle;
|
---|
| 24 |
|
---|
| 25 | std::FILE *fdopen(FileHandle *fh, const char *mode);
|
---|
| 26 |
|
---|
| 27 | }
|
---|
| 28 | #endif
|
---|
| 29 |
|
---|
| 30 | #endif //RETARGET_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.