X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=includes%2Ferrno.h;fp=includes%2Ferrno.h;h=2795fdf6c727128b247a0c742471e23a0f228ff6;hb=393020b6e48719d27699dea6b29e53025bbd5123;hp=0000000000000000000000000000000000000000;hpb=f408c1fd633015089d2a0fc6bc31c9f61eeae0a9;p=pdclib diff --git a/includes/errno.h b/includes/errno.h new file mode 100644 index 0000000..2795fdf --- /dev/null +++ b/includes/errno.h @@ -0,0 +1,23 @@ +/* $Id$ */ + +/* Errors + + This file is part of the Public Domain C Library (PDCLib). + Permission is granted to use, modify, and / or redistribute at will. +*/ + +#ifndef _PDCLIB_ERRNO_H +#define _PDCLIB_ERRNO_H _PDCLIB_ERRNO_H + +#ifndef _PDCLIB_INT_H +#define _PDCLIB_INT_H _PDCLIB_INT_H +#include <_PDCLIB_int.h> +#endif + +#define errno (*_PDCLIB_errno_func()) + +#define ERANGE _PDCLIB_ERANGE +#define EDOM _PDCLIB_EDOM + +#endif +