mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-18 21:13:32 +08:00
[Libc][armlibc] Add STDIN_FILENO, STDOUT_FILENO and STDERR_FILENO to armlibc/sys/unistd.h.
This commit is contained in:
parent
2a9ce628e4
commit
b27b1d8032
@ -4,6 +4,11 @@
|
||||
#include <rtthread.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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user