_sys_close()
Defined in rt_sys.h, this function closes a file previously opened with _sys_open().
rt_sys.h
_sys_open()
int _sys_close(FILEHANDLE fh);
fh
This function must be defined if any input/output function is to be used.
The return value is 0 if successful. A nonzero value indicates an error.
0
Using ARM® C and C++ Libraries and Floating-Point Support:
Direct semihosting C library function dependencies.