]>
git.ipfire.org Git - thirdparty/systemd.git/blob - src/basic/errno-list.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
6 * MAX_ERRNO is defined as 4095 in linux/err.h
7 * We use the same value here.
11 const char *errno_to_name(int id
);
12 int errno_from_name(const char *name
);
13 static inline bool errno_is_valid(int n
) {
14 return n
> 0 && n
<= ERRNO_MAX
;