lseek function

int lseek(
  1. int fd,
  2. int offset,
  3. int whence
)

Implementation

int lseek(
  int fd,
  int offset,
  int whence,
) {
  _lseek ??= Libc().dylib.lookupFunction<
      ffi.Int64 Function(ffi.Int32, ffi.Int64, ffi.Int32),
      _dart_lseek>('lseek');
  return _lseek!(
    fd,
    offset,
    whence,
  );
}