include/linux/errname.h

Source file repositories/reference/linux-study-clean/include/linux/errname.h

File Facts

System
Linux kernel
Corpus path
include/linux/errname.h
Extension
.h
Size
283 bytes
Lines
17
Domain
Core OS
Bucket
Core Kernel Interface
Inferred role
Core OS: implementation source
Status
source implementation candidate

Why This File Exists

Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.

Dependency Surface

Detected Declarations

Annotated Snippet

#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 */

Annotation

Implementation Notes