| www.delorie.com/djgpp/doc/libc-2.01/libc_92.html | search |
#include <unistd.h> int close(int fd);
The open file associated with fd is closed.
Zero if the file was closed, nonzero if fd was invalid or already closed.
int fd = open("data", O_RDONLY);
close(fd);
Go to the first, previous, next, last section, table of contents.
| prev next webmaster | delorie software privacy |
| Copyright © 1997 | Updated Apr 1997 |