]> Git Repo - J-u-boot.git/blob - include/errno.h
errno: Add copyright header and header guard
[J-u-boot.git] / include / errno.h
1 /*
2  * Copyright (C) 2014 Samsung Electronics
3  * Przemyslaw Marczak <[email protected]>
4  *
5  * SPDX-License-Identifier:     GPL-2.0+
6  */
7 #ifndef _ERRNO_H
8 #define _ERRNO_H
9
10 #include <asm-generic/errno.h>
11
12 extern int errno;
13
14 #define __set_errno(val) do { errno = val; } while (0)
15
16 #ifdef CONFIG_ERRNO_STR
17 const char *errno_str(int errno);
18 #endif
19 #endif /* _ERRNO_H */
This page took 0.028535 seconds and 4 git commands to generate.