summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormysterywolf <[email protected]>2020-09-02 10:25:52 +0800
committermysterywolf <[email protected]>2020-09-02 10:25:52 +0800
commita162640f89933847d411513e69082325538411df (patch)
treee5318354b7282041ca1536dc52acbe5ae9461d13
parent837604553b4483a324357dbbb7060491f3b2f39c (diff)
Signed-off-by: mysterywolf
-rw-r--r--components/libc/compilers/armlibc/sys/ioctl.h15
-rw-r--r--components/libc/compilers/armlibc/sys/unistd.h4
2 files changed, 19 insertions, 0 deletions
diff --git a/components/libc/compilers/armlibc/sys/ioctl.h b/components/libc/compilers/armlibc/sys/ioctl.h
new file mode 100644
index 0000000000..033a57014a
--- /dev/null
+++ b/components/libc/compilers/armlibc/sys/ioctl.h
@@ -0,0 +1,15 @@
+/*
+ * Copyright (c) 2006-2018, RT-Thread Development Team
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ *
+ * Change Logs:
+ * Date Author Notes
+ * 2020-09-01 Meco Man First Version
+ */
+#ifndef _SYS_IOCTL_H
+#define _SYS_IOCTL_H
+
+
+
+#endif
diff --git a/components/libc/compilers/armlibc/sys/unistd.h b/components/libc/compilers/armlibc/sys/unistd.h
index 33f0561e72..3199b01e0e 100644
--- a/components/libc/compilers/armlibc/sys/unistd.h
+++ b/components/libc/compilers/armlibc/sys/unistd.h
@@ -46,4 +46,8 @@
#define O_SYNC _FSYNC
#endif
+
+int isatty (int fd);
+char * ttyname (int desc);
+
#endif /* _SYS_UNISTD_H */