stpncpy function
Copy no more than N characters of SRC to DEST, returning the address of the last character written into DEST.
Implementation
ffi.Pointer<ffi.Int8> stpncpy(
ffi.Pointer<ffi.Int8> __dest,
ffi.Pointer<ffi.Int8> __src,
int __n,
) {
_stpncpy ??= Libc().dylib.lookupFunction<
ffi.Pointer<ffi.Int8> Function(
ffi.Pointer<ffi.Int8>, ffi.Pointer<ffi.Int8>, ffi.Uint64),
_dart_stpncpy>('stpncpy');
return _stpncpy!(
__dest,
__src,
__n,
);
}