strcspn function
Return the length of the initial segment of S which consists entirely of characters not in REJECT.
Implementation
int strcspn(
ffi.Pointer<ffi.Int8> __s,
ffi.Pointer<ffi.Int8> __reject,
) {
_strcspn ??= Libc().dylib.lookupFunction<
ffi.Uint64 Function(ffi.Pointer<ffi.Int8>, ffi.Pointer<ffi.Int8>),
_dart_strcspn>('strcspn');
return _strcspn!(
__s,
__reject,
);
}