

            wind (2) --- position to end of file                     03/23/80


            _C_a_l_l_i_n_g _I_n_f_o_r_m_a_t_i_o_n

                 integer function wind (fd)
                 file_des fd

                 Library:  vswtlb (standard Subsystem library)


            _F_u_n_c_t_i_o_n

                 'Wind'  (pronounced  w-eye-nd)  is the opposite of 'rewind':
                 it positions a file's pointer to the end of the file, rather
                 than the beginning.  The argument is the file descriptor  of
                 the file to be wound.  The function return is OK if the wind
                 was successful, ERR otherwise.


            _I_m_p_l_e_m_e_n_t_a_t_i_o_n

                 'Wind'  calls  'seekf'  with  an  extremely  large  position
                 argument, thus setting the file pointer to EOF.  The  return
                 value is whatever 'seekf' returns.


            _C_a_l_l_s

                 seekf


            _S_e_e _A_l_s_o

                 rewind (2), trunc (2), seekf (2)


























            wind (2)                      - 1 -                      wind (2)


