https://github.com/torvalds/linux
Raw File
Tip revision: 44c026a73be8038f03dbdeef028b642880cf1511 authored by Linus Torvalds on 21 May 2023, 21:05:48 UTC
Linux 6.4-rc3
Tip revision: 44c026a
errname.h
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _LINUX_ERRNAME_H
#define _LINUX_ERRNAME_H

#include <linux/stddef.h>

#ifdef CONFIG_SYMBOLIC_ERRNAME
const char *errname(int err);
#else
static inline const char *errname(int err)
{
	return NULL;
}
#endif

#endif /* _LINUX_ERRNAME_H */
back to top