isatty() should be prototypes in unstid.h, not termios.h.

This commit is contained in:
Sebastien Lorquet 2016-08-24 10:25:09 -06:00 committed by Gregory Nutt
parent 7021b143ce
commit c8c4575139
2 changed files with 4 additions and 3 deletions

View File

@ -298,9 +298,6 @@ 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

View File

@ -165,6 +165,10 @@ ssize_t write(int fd, FAR const void *buf, size_t nbytes);
ssize_t pread(int fd, FAR void *buf, size_t nbytes, off_t offset);
ssize_t pwrite(int fd, FAR const void *buf, size_t nbytes, off_t offset);
/* Check if a file descriptor corresponds to a terminal I/O file */
int isatty(int fd);
/* Memory management */
#if defined(CONFIG_ARCH_ADDRENV) && defined(CONFIG_MM_PGALLOC) && \