File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 518518position from the beginning of a file, setting the position to the end of a
519519file, and getting the current file position (0 with \texttt {SEEK\_ CUR }).
520520\item There is no I/O involved when calling \texttt {lseek }.
521- \item You can obviously use \texttt {lseek } not only for subsequent calls to
522- \texttt {read } and \texttt {write } but also for another call to \texttt {lseek }.
521+ \item You can obviously use the return value of \texttt {lseek } not only for
522+ subsequent calls to \texttt {read } and \texttt {write } but also for another call
523+ to \texttt {lseek }.
523524\item \label {BIG_FILE } Beware of files with holes as it may lead to problems
524525with backing up the data. Example: \example {read/big-file.c} demonstrates that
525526moving a sparse file may end up in an actual storage data occupation increase.
You can’t perform that action at this time.
0 commit comments