execn (2) --- execute program named by a quoted string 03/23/80 _C_a_l_l_i_n_g _I_n_f_o_r_m_a_t_i_o_n subroutine execn (path_name) packedchar path_name (ARB) Library: vswtlb (standard Subsystem library) _F_u_n_c_t_i_o_n The function of 'execn' is almost identical to that of 'exec'. The only difference is in the form of the argument passed to the two routines. 'Exec' expects an EOS terminated string; 'execn' expects a string of characters packed two per word, terminated with a period. Like 'exec', 'execn' executes the program whose location is specified by the given pathname if that is possible; if an error occurs, control returns to the calling program. On a successful call, control passes to the called program, and the calling program is lost. _I_m_p_l_e_m_e_n_t_a_t_i_o_n 'Execn' calls 'ptoc' to unpack its argument into a temporary area; this temporary area is then passed as an argument to 'exec', which does all the real work. _C_a_l_l_s ptoc, exec _B_u_g_s Same as 'exec'. _S_e_e _A_l_s_o exec (2), ptoc (2) execn (2) - 1 - execn (2)