exit function

void exit(
  1. int status
)

Terminate program execution with the low-order 8 bits of STATUS.

Implementation

void exit(
  int status,
) {
  __exit ??= Libc()
      .dylib
      .lookupFunction<ffi.Void Function(ffi.Int32), _dart__exit>('_exit');
  return __exit!(
    status,
  );
}