From 0d8727ea33576a715e2f7d78ad1bb84327687489 Mon Sep 17 00:00:00 2001 From: uz Date: Thu, 3 Jun 2010 20:12:55 +0000 Subject: [PATCH] Added a prototype for _seterrno(). git-svn-id: svn://svn.cc65.org/cc65/trunk@4686 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- include/errno.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/errno.h b/include/errno.h index cacbe0e2f..3743eb013 100644 --- a/include/errno.h +++ b/include/errno.h @@ -47,6 +47,9 @@ extern unsigned char _oserror; */ int __fastcall__ _osmaperrno (unsigned char oserror); +/* Set errno to a specific error code. Used by the library */ +void __fastcall__ _seterrno (unsigned char code); + /* System error codes go here */ extern int _errno; -- 2.39.5