usleep function

int usleep(
  1. int useconds
)

Sleep USECONDS microseconds, or until a signal arrives that is not blocked or ignored.

This function is a cancellation point and therefore not marked with __THROW.

Implementation

int usleep(
  int useconds,
) {
  _usleep ??= Libc()
      .dylib
      .lookupFunction<ffi.Int32 Function(ffi.Uint32), _dart_usleep>('usleep');
  return _usleep!(
    useconds,
  );
}