strcoll_l function

int strcoll_l(
  1. Pointer<Int8> __s1,
  2. Pointer<Int8> __s2,
  3. Pointer<locale_struct> __l
)

Compare the collated forms of S1 and S2, using sorting rules from L.

Implementation

// ignore: non_constant_identifier_names
int strcoll_l(
  ffi.Pointer<ffi.Int8> __s1,
  ffi.Pointer<ffi.Int8> __s2,
  ffi.Pointer<locale_struct> __l,
) {
  _strcoll_l ??= Libc().dylib.lookupFunction<
      ffi.Int32 Function(ffi.Pointer<ffi.Int8>, ffi.Pointer<ffi.Int8>,
          ffi.Pointer<locale_struct>),
      _dart_strcoll_l>('strcoll_l');
  return _strcoll_l!(
    __s1,
    __s2,
    __l,
  );
}