

            dwrit$ (6) --- write raw characters to disk              02/24/82


            _C_a_l_l_i_n_g _I_n_f_o_r_m_a_t_i_o_n

                 integer function dwrit$ (buf, nwx, f)
                 integer buf (ARB), nwx, f

                 Library:  vswtlb (standard Subsystem library)


            _F_u_n_c_t_i_o_n

                 'Dwrit$'  is an internal Subsystem routine that performs the
                 function  of  'writef'  for  disk  files  only.   The  first
                 argument  is  the  array of words to be written to the file;
                 the second argument is the number of words  to  be  written;
                 the  third  argument  is  the file descriptor of the file to
                 which data will be written.  'Dwrit$' returns the number  of
                 words  written  (which  should  always equal 'nwx'), or EOF.
                 'Dwrit$' is not intended for general use; it is not  protec-
                 ted 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

                 'Dwrit$'  calls  the Primos subroutine PRWF$$ to write words
                 to disk.


            _C_a_l_l_s

                 Primos prwf$$, move$


            _B_u_g_s

                 EOF is returned  if  any  error  occurs;  the  user  is  not
                      informed of the actual error that occurs.


            _S_e_e _A_l_s_o

                 writef (2)















            dwrit$ (6)                    - 1 -                    dwrit$ (6)


