strncpy function
Copy no more than N characters of SRC to DEST.
Implementation
ffi.Pointer<ffi.Int8> strncpy(
ffi.Pointer<ffi.Int8> __dest,
ffi.Pointer<ffi.Int8> __src,
int __n,
) {
_strncpy ??= Libc().dylib.lookupFunction<
ffi.Pointer<ffi.Int8> Function(
ffi.Pointer<ffi.Int8>, ffi.Pointer<ffi.Int8>, ffi.Uint64),
_dart_strncpy>('strncpy');
return _strncpy!(
__dest,
__src,
__n,
);
}