diff options
| author | moebius.ever <[email protected]> | 2018-03-21 15:37:23 +0800 |
|---|---|---|
| committer | moebius.ever <[email protected]> | 2018-03-21 15:37:23 +0800 |
| commit | feeff73168b1e6bb3aa1a286add44af7ac940bc2 (patch) | |
| tree | d9dc4985294d771c3edd28bc7897941788d4ecca /components/libc/compilers/dlib | |
| parent | 61946325ee0850631758fd50a0cf68df3caf970e (diff) | |
| parent | 883290ddefea2a7160f21960d955c601ad180d7b (diff) | |
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
Diffstat (limited to 'components/libc/compilers/dlib')
| -rw-r--r-- | components/libc/compilers/dlib/fcntl.h | 0 | ||||
| -rw-r--r-- | components/libc/compilers/dlib/sys/stat.h | 0 | ||||
| -rw-r--r-- | components/libc/compilers/dlib/sys/unistd.h | 5 |
3 files changed, 5 insertions, 0 deletions
diff --git a/components/libc/compilers/dlib/fcntl.h b/components/libc/compilers/dlib/fcntl.h new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/components/libc/compilers/dlib/fcntl.h diff --git a/components/libc/compilers/dlib/sys/stat.h b/components/libc/compilers/dlib/sys/stat.h new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/components/libc/compilers/dlib/sys/stat.h diff --git a/components/libc/compilers/dlib/sys/unistd.h b/components/libc/compilers/dlib/sys/unistd.h index 06a46746c0..dbe4f3010d 100644 --- a/components/libc/compilers/dlib/sys/unistd.h +++ b/components/libc/compilers/dlib/sys/unistd.h @@ -2,6 +2,11 @@ #define _SYS_UNISTD_H #ifdef RT_USING_DFS + +#define STDIN_FILENO 0 /* standard input file descriptor */ +#define STDOUT_FILENO 1 /* standard output file descriptor */ +#define STDERR_FILENO 2 /* standard error file descriptor */ + #include <dfs_posix.h> #else #define _FREAD 0x0001 /* read enabled */ |
