◄Summary► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── The _dos_close function uses system call 0x3E to close the file indicated by <handle>. The file's <handle> argument is returned by the call that created or last opened the file. Return Value The function returns 0 if successful. Otherwise, it returns the DOS error code and sets errno to EBADF, indicating an invalid file handle. Do not use the DOS interface routines in conjunction with the console, low-level, or stream I/O routines. -♦-