isatty(3) | Library Functions Manual | isatty(3) |
isatty - test whether a file descriptor refers to a terminal
표준 C 라이브러리 (libc, -lc)
#include <unistd.h>
int isatty(int fd);
The isatty() function tests whether fd is an open file descriptor referring to a terminal.
isatty() returns 1 if fd is an open file descriptor referring to a terminal; otherwise 0 is returned, and errno is set to indicate the error.
이 섹션에서 사용되는 용어에 대한 설명은 attributes(7)을 참조하십시오.
상호 작용 | 속성 | 번호 |
isatty() | Thread safety | MT-Safe |
POSIX.1-2001, POSIX.1-2008, SVr4, 4.3BSD.
fstat(2), ttyname(3)
이 매뉴얼 페이지의 한국어 번역은 다음에 의해 편집되었습니다: 정강훈 <skyeyes@soback.kornet.net>
이 번역은 무료 문서입니다. 저작권 조건에 대해서는 GNU General Public License 버전 3 이상을 읽으십시오. 책임이 없습니다.
이 매뉴얼 페이지의 번역에서 오류를 발견하면 translation-team-ko@googlegroups.com 로 이메일을 보내주십시오.
2022년 12월 15일 | Linux man-pages 6.03 |