open RDR: seems to have a problem.
Posted: Fri Mar 02, 2018 7:50 pm
Phys_in = open("RDR:",O_RDONLY,'r');
if(Phys_in < 0){
printf("Can't open phys_in %d\n",Phys_in);
return 1;
}
My test code always returns -1.
Reading the open code in libsrc, it looks like it can fail at setfcb
and from there cascade. This is another issue (maybe), in setfcb the
fc->use flag is set to I+U_CON in the read code we are checking for
U_RDR. Does that get changed somewhere behind the curtains.
N0% stat dev:
CON: is CRT:
RDR: is TTY:
PUN: is TTY:
LST: is TTY:
and pip con:=rdr:
seems to working fine.
if(Phys_in < 0){
printf("Can't open phys_in %d\n",Phys_in);
return 1;
}
My test code always returns -1.
Reading the open code in libsrc, it looks like it can fail at setfcb
and from there cascade. This is another issue (maybe), in setfcb the
fc->use flag is set to I+U_CON in the read code we are checking for
U_RDR. Does that get changed somewhere behind the curtains.
N0% stat dev:
CON: is CRT:
RDR: is TTY:
PUN: is TTY:
LST: is TTY:
and pip con:=rdr:
seems to working fine.