pub fn lseek(fd: fd_t, offset: off_t, whence: u32) u64
Can only be called on 64 bit systems. For 32 bit see llseek.
llseek
fd: fd_t
offset: off_t
whence: u32
1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840
pub fn lseek(fd: fd_t, offset: off_t, whence: u32) u64 { return switch (builtin.abi) { .gnuabin32, .muslabin32, .abin32, .gnux32, .muslx32, .x32, => syscall_lseek(fd, offset, whence), else => syscall3(.lseek, @as(u32, @bitCast(fd)), @as(u64, @bitCast(offset)), whence), }; }
Can only be called on 64 bit systems. For 32 bit see
llseek.