summaryrefslogtreecommitdiff
path: root/tvision/compat/iswild.c
diff options
context:
space:
mode:
Diffstat (limited to 'tvision/compat/iswild.c')
-rw-r--r--tvision/compat/iswild.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/tvision/compat/iswild.c b/tvision/compat/iswild.c
new file mode 100644
index 0000000..1684eab
--- /dev/null
+++ b/tvision/compat/iswild.c
@@ -0,0 +1,12 @@
+/*
+ Copyright (C) 1996-1998 Robert H”hne
+ Copyright (C) 2000 Salvador E. Tropea
+ Covered by the GPL license.
+*/
+
+#include <string.h>
+
+int CLY_IsWild(const char *f)
+{
+ return strpbrk(f,"?*")!=0;
+}