.title opnfnb C open by file name block ; ; Copyright (C) 1983, The Associated Press, NY ; .ident /AP1.1/ ; ;+ ; ; Index Open a file after setting fdb ; ; Usage ; ; FILE * ; opnfdb(fd); ; FILE *fd; /* File pointer from fdbset */ ; ; Description ; ; ; Bugs ; ;- ; ; Edit history ; ; 00001 09/14/83 hjj created from V1.0 sources for FOPEN.MAC ; ; .PSECT C$CODE ; OPNFNB:: mov sp, r0 ;Get IOV mov 2(r0), r0 ;R0 -> fdb call .opfnb ;Yep, try for it movb F.ERR(r0), r0 ; return error if any return .end