summaryrefslogtreecommitdiffstats
path: root/include/errno.h
blob: 262c9fc3eb1c18e27dea9bdefdd4782cf0b40be0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __ERRNO_H
#define __ERRNO_H

#include <asm-generic/errno.h>
#include <linux/err.h>

extern int errno;

void perror(const char *s);
const char *errno_str(void);
const char *strerror(int errnum);

#endif /* __ERRNO_H */