memchr function

Pointer<Void> memchr(
  1. Pointer<Void> __s,
  2. int __c,
  3. int __n
)

Implementation

ffi.Pointer<ffi.Void> memchr(
  ffi.Pointer<ffi.Void> __s,
  int __c,
  int __n,
) {
  _memchr ??= Libc().dylib.lookupFunction<
      ffi.Pointer<ffi.Void> Function(
          ffi.Pointer<ffi.Void>, ffi.Int32, ffi.Uint64),
      _dart_memchr>('memchr');
  return _memchr!(
    __s,
    __c,
    __n,
  );
}