VSF Documented
Macros
err.h File Reference
#include <linux/errno.h>

Go to the source code of this file.

Macros

#define MAX_ERRNO   4095
 
#define IS_ERR_VALUE(__X)   ((unsigned long)(uintptr_t)(__X) >= (unsigned long)-MAX_ERRNO)
 

Macro Definition Documentation

◆ MAX_ERRNO

#define MAX_ERRNO   4095

◆ IS_ERR_VALUE

#define IS_ERR_VALUE (   __X)    ((unsigned long)(uintptr_t)(__X) >= (unsigned long)-MAX_ERRNO)