You copied the Doc URL to your clipboard.

ARM Compiler ARM C and C++ Libraries and Floating-Point Support User Guide : _sys_close()


Defined in rt_sys.h, the _sys_close() function closes a file previously opened with _sys_open().


int _sys_close(FILEHANDLE 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.