Closes a file.
#include <io.h> int close (int handle);
handle
A call to close(s) on a socket implicitly invokes shutdown(s, 2) which is the same as shutdown(s, SHUT_RDWR) before all the resources associated with the socket are freed.
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 3.0 | intime/rt/include/io.h | io.h | clib.lib |
chsize, creat, dup, dup2, unlink