Add strtrim(), trims leading and trailing white-space from a string

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2021-03-27 08:05:36 +01:00
1 parent d4b554ccdc
commit f5808e557e
4 files changed
+78 -1

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ libite_la_SOURCES = chomp.c copyfile.c \
ifconfig.c lfile.c \
makepath.c progress.c \
pidfile.c pidfilefn.c \
reallocarray.c rsync.c \
reallocarray.c rsync.c strtrim.c \
strlcpy.c strlcat.c strtonum.c \
strdupa.h strndupa.h strnlen.h \
strmatch.c systemf.c touchf.c \