j6libc.py was initially made for libc to generate stdint.h, but it gained a few things that aren't libc-specific. Move it to a package and split the int-types-specific code into codegen.int_types.
29 lines
608 B
C
29 lines
608 B
C
#pragma once
|
|
/** \file errno.h
|
|
* Errors
|
|
*
|
|
* This file is part of the C standard library for the jsix operating
|
|
* system.
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
*/
|
|
|
|
|
|
/**[[[cog code generation
|
|
from codegen import arch_includes
|
|
|
|
arch_includes("errno.h", root="__j6libc")
|
|
|
|
]]]*/
|
|
/*[[[end]]]*/
|
|
|
|
#define EDOM 0x800
|
|
#define EILSEQ 0x801
|
|
#define ERANGE 0x802
|
|
#define EINVAL 0x803
|
|
#define ENOMEM 0x804
|
|
|
|
/* vim: set ft=c: */
|