SYS_ERRNO (0x13)

Returns the value of the C library errno variable associated with the host implementation of the semihosting SVCs. The errno variable can be set by a number of C library semihosted functions, including:

Whether errno is set or not, and to what value, is entirely host-specific, except where the ISO C standard defines the behavior.

Show/hideEntry

There are no parameters. Register R1 must be zero.

Show/hideReturn

On exit, R0 contains the value of the C library errno variable.

Show/hideSee also

Copyright © 2010-2012 ARM. All rights reserved.ARM DUI 0471G
Non-ConfidentialID021412