Portál AbcLinuxu, 19. prosince 2025 19:19
Možná melu z hladu.
Upon successful completion, lseek() returns the resulting offset location as measured in bytes from the beginning of the file. Otherwise, a value ofTakže(off_t)-1is returned anderrnois set to indicate the error.
pos = lseek(fd, 0, SEEK_CUR);
fseek() to nevadí, protože tam máte ftell().
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.