strerror function
Return a string describing the meaning of the `errno' code in ERRNUM.
Implementation
String strerror(
int errnum,
) {
_strerror ??= Libc().dylib.lookupFunction<
ffi.Pointer<ffi.Void> Function(ffi.Int32), _dart_strerror>('strerror');
final result = _strerror!(
errnum,
);
return copyCBuffToDartString(result, free: false);
}