@node _dos_close, dos @subheading Syntax @example #include unsigned int _dos_close(int handle); @end example @subheading Description This is a direct connection to the MS-DOS close function call (%ah = 0x3E). This function closes the specified file. @xref{_dos_open}. @xref{_dos_creat}. @xref{_dos_creatnew}. @xref{_dos_read}. @xref{_dos_write}. @subheading Return Value Returns 0 if successful or DOS error code on error (and sets @var{errno}). @subheading Portability @portability !ansi, !posix @subheading Example @example int handle; _dos_creat("FOO.DAT", _A_ARCH, &handle); ... _dos_close(handle); @end example