summaryrefslogtreecommitdiffstats
path: root/include/errno.h
blob: 14ac3cb10b00bab70a6916fe15adae6af0b838f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef _ERRNO_H

#include <asm-generic/errno.h>

extern int errno;

#define __set_errno(val) do { errno = val; } while (0)

#ifdef CONFIG_ERRNO_STR
const char *errno_str(int errno);
#endif
#endif /* _ERRNO_H */
OpenPOWER on IntegriCloud