Question: The function myFgets() must: return NULL when an error or the end of file has occured, update the _flag of the FILE object accordingly(use the
The function myFgets() must: return NULL when an error or the end of file has occured, update the _flag of the FILE object accordingly(use the constants _IOEOF and _IOERR). obtain the file Unix descriptor using the function fileno(FILE *), e.g., fd=fileno(fp);
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
