Man page - isatty(3)

Packages contains this manual

Available languages:

en fr pt_BR es ko ja ru ro de

Manual

isatty

이 름
라 이 브 러 리
μš” μ•½
μ„€ λͺ…
반 ν™˜ κ°’
에 러
속 μ„±
ν‘œ μ€€
이 λ ₯
μΆ” κ°€ μ°Έ μ‘°
번 μ—­

이 름

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.

에 러

EBADF

fd κ°€ 유 효 ν•œ 파 일 κΈ° 술 자 κ°€ μ•„ λ‹ˆ λ‹€ .

ENOTTY

fd refers to a file other than a terminal. On some older kernels, some types of files resulted in the error EINVAL in this case (which is a violation of POSIX, which specifies the error ENOTTY ).

속 μ„±

이 μ„Ή μ…˜ 에 μ„œ 사 용 되 λŠ” 용 μ–΄ 에 λŒ€ ν•œ μ„€ λͺ… 은 attributes (7)을 μ°Έ μ‘° ν•˜ μ‹­ μ‹œ 였 .

Image grohtml-4017275-1.png

ν‘œ μ€€

POSIX.1-2008.

이 λ ₯

POSIX.1-2001, SVr4, 4.3BSD.

μΆ” κ°€ μ°Έ μ‘°

fstat (2), ttyname (3)

번 μ—­

이 λ§€ 뉴 μ–Ό 페 이 μ§€ 의 ν•œ κ΅­ μ–΄ 번 μ—­ 은 λ‹€ 음 에 의 ν•΄ 편 μ§‘ 되 μ—ˆ 슡 λ‹ˆ λ‹€ : μ • κ°• ν›ˆ <skyeyes@soback.kornet.net>

이 번 μ—­ 은 무 료 λ¬Έ μ„œ μž… λ‹ˆ λ‹€ . μ € μž‘ ꢌ μ‘° 건 에 λŒ€ ν•΄ μ„œ λŠ” GNU General Public License 버 μ „ 3 이 상 을 읽 으 μ‹­ μ‹œ 였 . μ±… μž„ 이 μ—† 슡 λ‹ˆ λ‹€ .

이 λ§€ 뉴 μ–Ό 페 이 μ§€ 의 번 μ—­ 에 μ„œ 였 λ₯˜ λ₯Ό 발 견 ν•˜ λ©΄ translation-team-ko@googlegroups.com 둜 이 λ©” 일 을 보 λ‚΄ μ£Ό μ‹­ μ‹œ 였 .