4.38 _sys_close()

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

Syntax

int _sys_close(FILEHANDLE fh);

Usage

This function must be defined if any input/output function is to be used.

Returns

The return value is 0 if successful. A nonzero value indicates an error.

Non-ConfidentialPDF file icon PDF versionARM DUI0475M
Copyright © 2010-2016 ARM Limited or its affiliates. All rights reserved.