-

Difference between revisions of "Functions HI-TECH C CLOSE"

From HI-TECH C for CP/M Fan WIKI(EN)
Jump to: navigation, search
(Created page with "<strong>CLOSE</strong> ==SYNOPSIS== #include <unixio.h> int close(int fd) ==DESCRIPTION== This routine closes the file associated with the file descriptor fd, which...")
 
(No difference)

Latest revision as of 18:36, 31 July 2017

CLOSE

SYNOPSIS

#include  <unixio.h>

int close(int fd)


DESCRIPTION

This routine closes the file associated with the file descriptor fd, which will have been previously obtained from a call to open(). Close() returns 0 for a successful close, or -1 otherwise.

SEE ALSO

open, read, write, seek