various improvements
[rrq/rrqforth.git] / adoc / p_open_file.adoc
1 // compile.asm: WORD p_open_file,'OPEN-FILE'
2
3 anchor:p_open_file[]
4
5 === Word: OPEN-FILE
6
7 ....
8 Data stack: ( chaz* -- fd )
9 ....
10
11 "OPEN-FILE" is a function word that opens the file named by the zero
12 terminated character string and returns the file descriptor, or if
13 less than 0, the system call error code.