diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2010-11-25 21:22:47 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2010-11-25 21:22:47 +0200 |
commit | 286748e1a8500f647c3bccfb467b02bf3a37f398 (patch) | |
tree | 6385bb2f1ee6c0837204edfd307babceeae7f89a /missing_d/strcoll.c | |
parent | 50d4a80f67e5bcbf3902138d85a25f6a90847d31 (diff) | |
download | egawk-286748e1a8500f647c3bccfb467b02bf3a37f398.tar.gz egawk-286748e1a8500f647c3bccfb467b02bf3a37f398.tar.bz2 egawk-286748e1a8500f647c3bccfb467b02bf3a37f398.zip |
Add POSIX string comparison with strcoll.
Diffstat (limited to 'missing_d/strcoll.c')
-rw-r--r-- | missing_d/strcoll.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/missing_d/strcoll.c b/missing_d/strcoll.c new file mode 100644 index 00000000..ac65795e --- /dev/null +++ b/missing_d/strcoll.c @@ -0,0 +1,7 @@ +/* replacement strcoll.c */ + +int +strcoll(const char *s1, const char *s2) +{ + return strcmp(s1, s2); /* nyah, nyah, so there */ +} |