summaryrefslogtreecommitdiff
path: root/include/errno.h
blob: 16442659660470a4f42009e1f73c20e1a71165e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* 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 *strerror(int errnum);

#endif /* __ERRNO_H */