Code:if ((fp->flag&(_READ|_EOF_ERR)) != _READ) return EOF;plz pay attention to the part bolded and colored.Code:{ 0, (char *) 0, (char *) 0, _WRITE, | _UNBUF, 2 }
Code:if ((fp->flag&(_READ|_EOF_ERR)) != _READ) return EOF;plz pay attention to the part bolded and colored.Code:{ 0, (char *) 0, (char *) 0, _WRITE, | _UNBUF, 2 }
Last edited by thinhare; 01-11-2005 at 05:56 AM.