From: cuz Date: Sat, 16 Nov 2002 16:35:15 +0000 (+0000) Subject: Moved fmode.inc -> fcntl.inc, add new constants X-Git-Tag: V2.12.0~2104 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=be10b3374c845f95d71a28234ba446f4e5703a42;p=cc65 Moved fmode.inc -> fcntl.inc, add new constants git-svn-id: svn://svn.cc65.org/cc65/trunk@1528 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/asminc/fcntl.inc b/asminc/fcntl.inc new file mode 100644 index 000000000..16a254952 --- /dev/null +++ b/asminc/fcntl.inc @@ -0,0 +1,19 @@ +; +; 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 +O_CREAT = $10 +O_TRUNC = $20 +O_APPEND = $40 + + + diff --git a/asminc/fmode.inc b/asminc/fmode.inc deleted file mode 100644 index cf2db3a7c..000000000 --- a/asminc/fmode.inc +++ /dev/null @@ -1,15 +0,0 @@ -; -; Ullrich von Bassewitz, 05.06.1999 -; - -; File mode constants, must match the values in the C headers - - -O_RDONLY = $01 -O_WRONLY = $02 -O_RDWR = $03 -O_CREAT = $10 -O_TRUNC = $20 -O_APPEND = $40 - -