INtime SDK Help
close

Closes a file.

#include <io.h>

int close (int handle);

Parameters

handle
Descriptor that refers to an open file.

Return Values

0 (zero).
Success.
-1 the function sets errno to EBADF, indicating an invalid file descriptor argument.
Failure.

Requirements

Versions Defined in Include Link to
INtime 3.0 intime/rt/include/io.h io.h clib.lib

See Also

chsize, creat, dup, dup2, unlink