1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-23 19:29:37 +00:00
cc65/asminc/fcntl.inc

22 lines
348 B
PHP

;
; 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
O_EXCL = $80