summaryrefslogtreecommitdiff
path: root/src/sysdeps
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-07-13 10:22:16 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-07-13 10:22:16 +0000
commita1811ef52374d28346eb554930bd40f885fbed22 (patch)
tree595b10651ef938e11a2d3c6faa79c19a92f3e10b /src/sysdeps
parentd6afd4b928a3e2875297cd9cba11b570a83d95f9 (diff)
downloadskalibs-a1811ef52374d28346eb554930bd40f885fbed22.tar.xz
- sysdeps for strnlen (Solaris... sigh)
- rc for 2.3.5.2
Diffstat (limited to 'src/sysdeps')
-rw-r--r--src/sysdeps/trystrnlen.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sysdeps/trystrnlen.c b/src/sysdeps/trystrnlen.c
new file mode 100644
index 0000000..5361cc9
--- /dev/null
+++ b/src/sysdeps/trystrnlen.c
@@ -0,0 +1,4 @@
+/* ISC license. */
+
+#include <string.h>
+int main () { return strnlen("/", 1) ; }