summaryrefslogtreecommitdiff
path: root/modules/strnlen
blob: 3ef0b850f4b145788f1e9b29f93d6797f67b7670 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Description:
strnlen() function: determine the length of a size-bounded string.

Files:
lib/strnlen.c
m4/strnlen.m4

Depends-on:
string
extensions

configure.ac:
gl_FUNC_STRNLEN
gl_CONDITIONAL([GL_COND_OBJ_STRNLEN],
               [test $HAVE_DECL_STRNLEN = 0 || test $REPLACE_STRNLEN = 1])
AM_COND_IF([GL_COND_OBJ_STRNLEN], [
  gl_PREREQ_STRNLEN
])

gl_STRING_MODULE_INDICATOR([strnlen])

Makefile.am:
if GL_COND_OBJ_STRNLEN
lib_SOURCES += strnlen.c
endif

Include:
<string.h>

License:
LGPLv2+

Maintainer:
all