

            mkdir$ (6) --- create a directory                        07/04/83


          | _C_a_l_l_i_n_g _I_n_f_o_r_m_a_t_i_o_n

                 integer function mkdir$ (name, owner, non_owner)
                 character name (ARB), owner (ARB), non_owner (ARB)

                 Library:  vswtlb (standard Subsystem library)


            _F_u_n_c_t_i_o_n

                 'Mkdir$'  is  used  to create a new directory.  The argument
                 'name' is the pathname of the directory to be  created;  the
                 arguments 'owner' and 'non_owner' specify the owner and non-
                 owner  passwords,  respectively,  of the new directory.  The
                 function return is OK  if  the  directory  was  successfully
                 created, ERR otherwise.


            _I_m_p_l_e_m_e_n_t_a_t_i_o_n

                 'Getto'  is  called  to  attach  to the directory which will
                 become the parent of the new directory.  A call to  'findf$'
                 insures that the directory does not already exist.  The pas-
                 sword  strings  are  converted to packed format via calls to
                 'ctop'.  The Primos  routine  CREA$$  actually  creates  the
                 directory  and  sets the passwords.  Then the Primos routine
                 SATR$$ is called to set the protection so that the owner has
                 all rights and non-owner has read access.


            _C_a_l_l_s

          |      ctop, findf$, getto, Primos at$hom,  Primos  crea$$,  Primos
          |      satr$$


            _S_e_e _A_l_s_o

                 follow (2), getto (2), mkdir (1)



















            mkdir$ (6)                    - 1 -                    mkdir$ (6)


