

            twrit$ (6) --- write raw words to terminal               03/25/82


            _C_a_l_l_i_n_g _I_n_f_o_r_m_a_t_i_o_n

                 integer function twrit$ (buf, nw, f)
                 integer buf (ARB), nw
                 file_des f

                 Library:  vswtlb (standard Subsystem library)


            _F_u_n_c_t_i_o_n

                 'Twrit$'  is  the device-dependent driver for terminal line-
                 image i/o.  The first argument is a string of  words  to  be
                 written;  the  second  argument is the number of words to be
                 written; and, the third argument is the file  descriptor  of
                 the  file  to  which data will be written.  'Twrit$' returns
                 the number of  words  written  (which  should  always  equal
                 'nw').   'Twrit$' is not intended for general use; it is not
                 protected from user error, and may cause termination of  the
                 user's  program  if  used  incorrectly.  It should always be
                 referenced through 'writef'.


            _I_m_p_l_e_m_e_n_t_a_t_i_o_n

                 'Twrit$' calls the Primos subroutine T1OU 'nw'  times,  once
                 per  word  in 'buf'.  T1OU outputs one character to the user
                 terminal.


            _C_a_l_l_s

                 Primos t1ou


            _S_e_e _A_l_s_o

                 writef (2), tread$ (6), readf (2)




















            twrit$ (6)                    - 1 -                    twrit$ (6)


