From be10b3374c845f95d71a28234ba446f4e5703a42 Mon Sep 17 00:00:00 2001 From: cuz Date: Sat, 16 Nov 2002 16:35:15 +0000 Subject: [PATCH] Moved fmode.inc -> fcntl.inc, add new constants git-svn-id: svn://svn.cc65.org/cc65/trunk@1528 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- asminc/{fmode.inc => fcntl.inc} | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) rename asminc/{fmode.inc => fcntl.inc} (69%) 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 +