rewind (2) --- rewind a file 02/24/82 _C_a_l_l_i_n_g _I_n_f_o_r_m_a_t_i_o_n integer function rewind (fd) file_des fd Library: vswtlb (standard Subsystem library) _F_u_n_c_t_i_o_n 'Rewind' positions the file specified by 'fd' to its begin- ning. All internal Subsystem status indicators are reset to indicate the new condition of the file. If the attempt to rewind was successful, 'rewind' returns OK; otherwise, it returns ERR. _I_m_p_l_e_m_e_n_t_a_t_i_o_n 'Rewind' calls 'seekf' to set the current position of the file to zero. _C_a_l_l_s seekf _B_u_g_s Terminal file behavior is somewhat unpredictable, since the user may have typed ahead of any requests for input. _S_e_e _A_l_s_o wind (2), seekf (2), markf (2) rewind (2) - 1 - rewind (2)