C에서 표준입력의 파일디스크립터,file_descriptor (or 파일서술자) { |=,FD FD https://ko.wikipedia.org/wiki/파일_서술자 File_descriptor = https://en.wikipedia.org/wiki/File_descriptor } number는
via https://viewsourcecode.org/snaptoken/kilo/02.enteringRawMode.html (standard input에서 한 바이트씩 읽는 소스)
<unistd.h>
의 STDIN_FILENO
via https://viewsourcecode.org/snaptoken/kilo/02.enteringRawMode.html (standard input에서 한 바이트씩 읽는 소스)
보면 0으로 정의되어 있다.
해당 stream은
이며
stdin
이며
fileno(stdin) == STDIN_FILENO
관계가 있다.표준스트림,standard_streams: (스트림,stream) { https://www.gnu.org/software/libc/manual/html_node/Standard-Streams.html \ Standard_streams = https://en.wikipedia.org/wiki/Standard_streams }
표준입력,standard_input
표준출력,standard_output { https://www.linfo.org/standard_output.html stdout (Redir.) }
표준에러,standard_error { https://www.linfo.org/standard_error.html stderr (Redir.)}
표준입력,standard_input
표준출력,standard_output { https://www.linfo.org/standard_output.html stdout (Redir.) }
표준에러,standard_error { https://www.linfo.org/standard_error.html stderr (Redir.)}
RENAMETHISPAGE to include stdin ?
표준입력,standard_input,stdin
은 어떤지?