MyOS Libc
errno.h File Reference

Go to the source code of this file.

Macros

#define errno   (*(__get_errno_address()))
 wrapper around __get_errno_address to provide the errno variable
 

Functions

int * __get_errno_address ()
 

Function Documentation

◆ __get_errno_address()

int* __get_errno_address ( )

Gets the address of errno for the current thread.

Note
This is an internal function. DO NOT CALL THIS DIRECTLY
Returns
the address of errno for the current thread