mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 06:39:01 +08:00
isatty() should be prototypes in unstid.h, not termios.h.
This commit is contained in:
committed by
Gregory Nutt
parent
7021b143ce
commit
c8c4575139
@@ -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
|
||||
|
||||
@@ -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) && \
|
||||
|
||||
Reference in New Issue
Block a user