musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/string/strverscmp.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011年09月11日 22:45:56 -0400
committerRich Felker <dalias@aerifal.cx>2011年09月11日 22:45:56 -0400
commita6540174be064806b6eb4dc6abff48a9b4facfdd (patch)
treea4f1973d1daf9f8c575507ca405de87c19085fc6 /src/string/strverscmp.c
parentd4045a1683d402dd4e53b3ae388d8794d7238c7e (diff)
downloadmusl-a6540174be064806b6eb4dc6abff48a9b4facfdd.tar.gz
add dummied strverscmp (obnoxious GNU function)
programs that use this tend to horribly botch international text support, so it's questionable whether we want to support it even in the long term... for now, it's just a dummy that calls strcmp.
Diffstat (limited to 'src/string/strverscmp.c')
-rw-r--r--src/string/strverscmp.c 7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/string/strverscmp.c b/src/string/strverscmp.c
new file mode 100644
index 00000000..70549678
--- /dev/null
+++ b/src/string/strverscmp.c
@@ -0,0 +1,7 @@
+#include <string.h>
+
+int strverscmp(const char *l, const char *r)
+{
+ /* FIXME */
+ return strcmp(l, r);
+}
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月06日 09:05:28 +0000

AltStyle によって変換されたページ (->オリジナル) /