

            vfyusr (2) --- validate username                         01/07/83


            _C_a_l_l_i_n_g _I_n_f_o_r_m_a_t_i_o_n

                 integer function vfyusr (lognam)
                 character lognam (ARB)

                 Library:  vswtlb (standard Subsystem library)


            _F_u_n_c_t_i_o_n

                 'Vfyusr'   is  used  to  verify  that  a  given  login  name
                 corresponds to an authorized user  of  the  Subsystem.   The
                 single argument is the login name of the user to be checked.
                 The  function  return is OK if the given name was validated,
                 ERR otherwise.


            _I_m_p_l_e_m_e_n_t_a_t_i_o_n

                 'Vfyusr' opens the Subsystem  user  list  file  "=userlist="
                 (nominally in "//extra/users") and simply reads it until the
                 given user name is found or EOF is encountered.


            _C_a_l_l_s

                 close, ctoc, getlin, length, mapstr, open, remark, strcmp































            vfyusr (2)                    - 1 -                    vfyusr (2)


