sgs_Errno [function alias]

int sgs_Errno( sgs_Context* C, int clear )

Copies errno to internal errno value if clear is not 0, otherwise internal errno value is set to 0, returns clear.

sgs_PushBool( C, sgs_Errno( C, rename( a, b ) == 0 ) )