lseek problem
Conor P. Cahill
cpcahil at virtech.UUCP
Tue Oct 10 09:45:28 AEST 1989
In article <14657 at uhnix1.uh.edu>, jsmng at sysmgr.cs.uh.edu writes:
> if (lseek(fp,0,L_SET) == NULL) {
^^
lseek requires a file descriptor, not a file pointer. Try fseek().
--
+-----------------------------------------------------------------------+
| Conor P. Cahill uunet!virtech!cpcahil 703-430-9247 !
| Virtual Technologies Inc., P. O. Box 876, Sterling, VA 22170 |
+-----------------------------------------------------------------------+
More information about the Comp.lang.c
mailing list