strncmp function
Compare N characters of S1 and S2.
Implementation
int strncmp(
ffi.Pointer<ffi.Int8> s1,
ffi.Pointer<ffi.Int8> s2,
int n,
) {
_strncmp ??= Libc().dylib.lookupFunction<
ffi.Int32 Function(
ffi.Pointer<ffi.Int8>, ffi.Pointer<ffi.Int8>, ffi.Uint64),
_dart_strncmp>('strncmp');
return _strncmp!(
s1,
s2,
n,
);
}