strdup method

Pointer<Int8> strdup(
  1. Pointer<Int8> _String
)

Implementation

ffi.Pointer<ffi.Int8> strdup(
  ffi.Pointer<ffi.Int8> _String,
) {
  return (_strdup_1 ??=
      _dylib.lookupFunction<_c_strdup, _dart_strdup>('strdup'))(
    _String,
  );
}