Implement strcoll as strcmp.

This commit is contained in:
Warner Losh 2018-02-02 21:18:32 +00:00
parent e240d1cfeb
commit c7b46ba446
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=328808

View File

@ -68,6 +68,7 @@
/* this header intentionally exports NULL from <string.h> */
#include <string.h>
#define strcoll(a, b) strcmp((a), (b))
#define CHK(fmt, args...) printf("%s(%d): " fmt "\n", __func__, __LINE__ , ##args)
#define PCHK(fmt, args...) {printf("%s(%d): " fmt "\n", __func__, __LINE__ , ##args); getchar();}