sethostid function

int sethostid(
  1. int id
)

Set the current machine's Internet number to ID. This call is restricted to the super-user.

Implementation

int sethostid(
  int id,
) {
  _sethostid ??= Libc()
      .dylib
      .lookupFunction<ffi.Int32 Function(ffi.Int64), _dart_sethostid>(
          'sethostid');
  return _sethostid!(
    id,
  );
}