-

Functions HI-TECH C CLOSE

From HI-TECH C for CP/M Fan WIKI(EN)
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