llseek(3) Library Functions Manual llseek(3)

llseek - reposition read/write file offset

Standard C library (libc-lc)

[[deprecated]] loff_t llseek(int fd, loff_t offset, int whence);

This is not the function you are interested in. Look at _llseek(2) or lseek(2).

When users complained about data loss caused by a miscompilation of e2fsck(8), glibc 2.1.3 added the link-time warning


"the `llseek´ function may be dangerous; use `lseek64´ instead."

Since glibc 2.28, this function symbol is no longer available to newly linked applications.

_llseek(2), lseek(2), lseek64(3)

2026-06-13 Linux man-pages 6.19