Question: if ( kopen ( #c / cons , OREAD ) 6 = 0 ) fprint ( 2 , failed to make fd 0

if (kopen ("#c/cons", OREAD)6=0)
fprint (2, "failed to make fd0 from #c/cons: %r
");
kopen ("#c/cons", OWRITE);
kopen ("#c/cons", OWRITE);
In this inferno file, is it possible that we could fail to open all three initial file descriptors in emuinit ()but not print the error message? How?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!