strndup method

Pointer<Int8> strndup(
  1. Pointer<Int8> __s1,
  2. int __n
)

Implementation

ffi.Pointer<ffi.Int8> strndup(
  ffi.Pointer<ffi.Int8> __s1,
  int __n,
) {
  return _strndup(
    __s1,
    __n,
  );
}