strndup method

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

Implementation

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