-

Functions HI-TECH C CLOSE

From HI-TECH C for CP/M Fan WIKI(EN)
Revision as of 18:36, 31 July 2017 by Kumokosi (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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