uc-sdk
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
close.c
Go to the documentation of this file.
1
#include "
reent.h
"
2
#include "
errno.h
"
3
#include <
fio.h
>
4
5
int
close
(
int
fd
) {
6
if
(!
fio_is_open
(fd)) {
7
set_errno(
EBADF
);
8
return
-1;
9
}
10
11
return
fio_close
(fd);
12
}
libc
src
close.c
Generated on Fri Nov 15 2013 05:00:19 for uc-sdk by
1.8.4