llseek(3)

llseek3

Reposition read/write file offset

Usage

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

Library

Standard C library (libc, -lc)

Overview

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

History

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.

From man-pages 6.19-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.