From: uz Date: Thu, 3 Jun 2010 20:12:55 +0000 (+0000) Subject: Added a prototype for _seterrno(). X-Git-Tag: V2.13.3~746 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0d8727ea33576a715e2f7d78ad1bb84327687489;p=cc65 Added a prototype for _seterrno(). git-svn-id: svn://svn.cc65.org/cc65/trunk@4686 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- 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;