getch (2) --- get a character from a file 03/23/80 _C_a_l_l_i_n_g _I_n_f_o_r_m_a_t_i_o_n character function getch (c, fd) character c integer fd Library: vswtlb (standard Subsystem library) _F_u_n_c_t_i_o_n 'Getch' is used to get a character from a file. The first argument is assigned the value of the character fetched; the second argument is the file descriptor of the file to be read. If end-of-file occurs on the input file, the charac- ter returned is EOF. The function return is always identical to the first argument (character read or EOF). _I_m_p_l_e_m_e_n_t_a_t_i_o_n 'Getch' calls 'getlin' with a very short line buffer (1 character + EOS). 'Getlin' thus returns one character in the buffer, which becomes the value returned by 'getch'. If 'getlin' returns EOF, 'getch' also returns EOF. _A_r_g_u_m_e_n_t_s _M_o_d_i_f_i_e_d c _C_a_l_l_s getlin _S_e_e _A_l_s_o getlin (2), putch (2) getch (2) - 1 - getch (2)