| Red Hat Documentation: man pages: man3: Linux Programmer's Manual (3) |
STRCOLLSection: Linux Programmer's Manual (3)Updated: April 12, 2025 Index NAMEstrcoll - compare two strings using the current localeSYNOPSIS#include <string.h> int strcoll(const char *s1, const char *s2); DESCRIPTIONThe strcoll() function compares the two strings s1 and s2. It returns an integer less than, equal to, or greater than zero if s1 is found, respectively, to be less than, to match, or be greater than s2. The comparison is based on strings interpreted as appropriate for the program's current localeRETURN VALUEThe strcoll() function returns an integer less than, equal to, or greater than zero if s1 is found, respectively, to be less than, to match, or be greater than s2, when both are interpreted as appropriate for the current locale.CONFORMING TOSVID 3, BSD 4.3, ISO 9899NOTESIn the "POSIX" or "C" locales strcoll() is equivalent to strcmp().SEE ALSO
IndexThis document was created by using the manual pages. Time: 11:58:06 GMT, March 24, 2025 |
|
© 2001 Red Hat, Inc. All rights reserved. About Red Hat : Legal statement : Privacy statement : Y2K statement : Contact Red Hat |