strerror_l function

Pointer<Int8> strerror_l(
  1. int __errnum,
  2. Pointer<locale_struct> __l
)

Translate error number to string according to the locale L.

Implementation

// ignore: non_constant_identifier_names
ffi.Pointer<ffi.Int8> strerror_l(
  int __errnum,
  ffi.Pointer<locale_struct> __l,
) {
  _strerror_l ??= Libc().dylib.lookupFunction<
      ffi.Pointer<ffi.Int8> Function(ffi.Int32, ffi.Pointer<locale_struct>),
      _dart_strerror_l>('strerror_l');
  return _strerror_l!(
    __errnum,
    __l,
  );
}