www.delorie.com/djgpp/doc/libc-2.02/libc_96.html   search  
Go to the first, previous, next, last section, table of contents.


_close

Syntax

#include <io.h>

int _close(int fd);

Description

This is a direct connection to the MS-DOS close function call, int 0x21, %ah = 0x3e. This function can be hooked by the See section File System Extensions. If you don't want this, you should use See section _dos_close.

Return Value

Zero if the file was closed, else nonzero.

Portability

not ANSI, not POSIX


Go to the first, previous, next, last section, table of contents.

  webmaster   donations   bookstore     delorie software   privacy  
  Copyright © 1998   by DJ Delorie     Updated Dec 1998  

Please take a moment to fill out this visitor survey
You can help support this site by visiting the advertisers that sponsor it! (only once each, though)