lockf function

int lockf(
  1. int fd,
  2. int cmd,
  3. int len
)

Implementation

int lockf(
  int fd,
  int cmd,
  int len,
) {
  _lockf ??= Libc().dylib.lookupFunction<
      ffi.Int32 Function(ffi.Int32, ffi.Int32, ffi.Int64),
      _dart_lockf>('lockf');
  return _lockf!(
    fd,
    cmd,
    len,
  );
}