Download ARM VERSION 1.2 Datasheet
Transcript
The C and C++ Libraries 4.10.7 _sys_ensure() This function flushes buffers associated with a file handle. Syntax int _sys_ensure(FILEHANDLE fh) Implementation A call to _sys_ensure() flushes any buffersassociated with file handle fh, and ensures that the file is up to date on the backing store medium. Returns If an error occurs, the result is negative. 4.10.8 _sys_flen() This function returns the current length of a file. Syntax long _sys_flen(FILEHANDLE fh) Implementation The function is required to convert fseek(, SEEK_END) into (, SEEK_SET) asrequired by _sys_seek(). If fseek() is used with an underlying system that does not directly support seeking relative to the end of a file, _sys_flen() must be defined. If the underlying system can seek relative to the end of a file, you can define fseek() so that _sys_flen() is not required. Returns This function returns the current length of the file fh, or a negative error indicator. 4-82 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D
Related documents