strcoll.c

The libc implementation

Author

Martin ‘Solar’ Baute

License

Public Domain

Summary
strcoll.cThe libc implementation
Functions
strcollCompares s1 to s2

Functions

strcoll

int strcoll(const char *s1,
const char *s2)

Compares s1 to s2

Returns positive if s1 alphabetically comes after s2

Returns negative if s1 alphabetically comes before s2

Returns zero if s1 alphabetically equals s2

int strcoll(const char *s1,
const char *s2)
Compares s1 to s2