13.7.19. SYS_ERRNO (0x13)

Returns the value of the C library errno variable associated with the host support for the debug monitor. The errno variable can be set by a number of C library support SWIs, including:

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


There are no parameters. Register r1 must be null.


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

Copyright © 1997, 1998 ARM Limited. All rights reserved.ARM DUI 0040D