source: mainline/uspace/lib/c/include/errno.h@ 9bfa8c8

Last change on this file since 9bfa8c8 was d7f7a4a, checked in by Jiří Zárevúcky <zarevucky.jiri@…>, 3 years ago

Replace some license headers with SPDX identifier

Headers are replaced using tools/transorm-copyright.sh only
when it can be matched verbatim with the license header used
throughout most of the codebase.

  • Property mode set to 100644
File size: 492 bytes
RevLine 
[7ad3c2f]1/*
[d7f7a4a]2 * SPDX-FileCopyrightText: 2006 Ondrej Palkovsky
[7ad3c2f]3 *
[d7f7a4a]4 * SPDX-License-Identifier: BSD-3-Clause
[7ad3c2f]5 */
6
[fadd381]7/** @addtogroup libc
[b2951e2]8 * @{
9 */
10/** @file
11 */
12
[4805495]13#ifndef _LIBC_ERRNO_H_
14#define _LIBC_ERRNO_H_
[7ad3c2f]15
[10de842]16#include <_bits/errno.h>
[c0699467]17#include <abi/errno.h>
[bc56f30]18#include <_bits/decls.h>
[db24058]19
[bc56f30]20__HELENOS_DECLS_BEGIN;
[7ad3c2f]21
[0fb1755]22extern errno_t *__errno(void) __attribute__((const));
[e98b1d5]23
[bc56f30]24__HELENOS_DECLS_END;
25
26#ifdef __cplusplus
27#define errno (*(::helenos::__errno()))
28#else
29#define errno (*(__errno()))
30#endif
31
[7ad3c2f]32#endif
[b2951e2]33
[fadd381]34/** @}
[b2951e2]35 */
Note: See TracBrowser for help on using the repository browser.