off_t __lseek (int fd, off_t offset, int whence) { nacl_abi_off_t nacl_offset = offset; int result = __nacl_irt_seek (fd, nacl_offset, whence, &nacl_offset); if (result != 0) { errno = result; return -1; } return nacl_offset; }
loff_t __llseek (int fd, loff_t offset, int whence) { int result = __nacl_irt_seek (fd, offset, whence, &offset); if (result != 0) { errno = result; return -1; } return offset; }