12#ifndef ZEPHYR_INCLUDE_SYS_ERRNO_PRIVATE_H_
13#define ZEPHYR_INCLUDE_SYS_ERRNO_PRIVATE_H_
26#ifdef CONFIG_LIBC_ERRNO
29static inline int *z_errno(
void)
34#elif defined(CONFIG_ERRNO_IN_TLS)
35extern Z_THREAD_LOCAL
int z_errno_var;
37static inline int *z_errno(
void)
50__syscall
int *z_errno(
void);
58#if !defined(CONFIG_ERRNO_IN_TLS) && !defined(CONFIG_LIBC_ERRNO)
59#include <zephyr/syscalls/errno_private.h>
#define errno
Definition errno.h:38