aboutsummaryrefslogtreecommitdiffstats
path: root/strends.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--strends.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/strends.c b/strends.c
new file mode 100644
index 0000000..7be8714
--- /dev/null
+++ b/strends.c
@@ -0,0 +1,9 @@
+/* See LICENSE file for copyright and license details. */
+#include "libsimple.h"
+
+
+int
+libsimple_strends(const char *s, const char *t)
+{
+ return memends(s, strlen(s), t, strlen(t));
+}