mirror of
https://github.com/apache/nuttx.git
synced 2026-09-24 16:56:03 +08:00
Add isatty() function. From Alan Carvalho de Assis
This commit is contained in:
@@ -298,6 +298,10 @@ int tcsendbreak(int fd, int duration);
|
||||
|
||||
int tcsetattr(int fd, int options, FAR const struct termios *termiosp);
|
||||
|
||||
/* Check if a file descriptor corresponds to a terminal I/O file */
|
||||
|
||||
int isatty(int fd);
|
||||
|
||||
#undef EXTERN
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user