diff --git a/asminc/fmode.inc b/asminc/fcntl.inc similarity index 69% rename from asminc/fmode.inc rename to asminc/fcntl.inc index cf2db3a7c..16a254952 100644 --- a/asminc/fmode.inc +++ b/asminc/fcntl.inc @@ -2,9 +2,12 @@ ; Ullrich von Bassewitz, 05.06.1999 ; +; Predefined file handles +STDIN_FILENO = 0 +STDOUT_FILENO = 1 +STDERR_FILENO = 2 + ; File mode constants, must match the values in the C headers - - O_RDONLY = $01 O_WRONLY = $02 O_RDWR = $03 @@ -13,3 +16,4 @@ O_TRUNC = $20 O_APPEND = $40 +