summaryrefslogtreecommitdiff
path: root/modules/xstrndup
blob: dfd72a7a4da254ed1a43b70f4f15b76f421a4c4e (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
Description:
Duplicate a bounded initial segment of a string, with out-of-memory checking.

Files:
lib/xstrndup.h
lib/xstrndup.c
m4/xstrndup.m4

Depends-on:
strndup
xalloc

configure.ac:
gl_XSTRNDUP

Makefile.am:
lib_SOURCES += xstrndup.h xstrndup.c

Include:
"xstrndup.h"

License:
GPL

Maintainer:
Simon Josefsson