Add declaration of __errno
git-svn-id: svn://svn.cc65.org/cc65/trunk@1553 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -2,8 +2,11 @@
|
|||||||
; Ullrich von Bassewitz, 16.05.2000
|
; Ullrich von Bassewitz, 16.05.2000
|
||||||
;
|
;
|
||||||
|
|
||||||
; Error codes, must match the values in the C headers
|
; errno variable
|
||||||
|
|
||||||
|
.global __errno
|
||||||
|
|
||||||
|
; Error codes, must match the values in the C headers
|
||||||
ENOENT = 1 ; No such file or directory
|
ENOENT = 1 ; No such file or directory
|
||||||
ENOMEM = 2 ; Out of memory
|
ENOMEM = 2 ; Out of memory
|
||||||
EACCES = 3 ; Permission denied
|
EACCES = 3 ; Permission denied
|
||||||
|
|||||||
Reference in New Issue
Block a user