pub fn llseek(fd: fd_t, offset: off_t, result: ?*off_t, whence: u32) u32
Can only be called on 32 bit systems. For 64 bit see lseek.
lseek
fd: fd_t
offset: off_t
result: ?*off_t
whence: u32
1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826
pub fn llseek(fd: fd_t, offset: off_t, result: ?*off_t, whence: u32) u32 { // NOTE: The offset parameter splitting is independent from the target // endianness. return syscall5( .llseek, @as(u32, @bitCast(fd)), @truncate(@as(u64, @bitCast(offset >> 32))), @truncate(@as(u64, @bitCast(offset))), @intFromPtr(result), whence, ); }
Can only be called on 32 bit systems. For 64 bit see
lseek.