C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
_dos_write
 Description Example                     Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
  Include:   <dos.h>, <errno.h>
 
  Syntax:    unsigned _dos_write( int handle, void __far *buffer,
                                  unsigned count, unsigned *numwrt );
 
  Returns:   0 if successful, or the DOS error code if not.
             errno: EACCES, EBADF
 
  See also:  _dos_read, _write, fwrite
                                    -♦-