Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-985 lprocfs: verify user buffer access
[fs/lustre-release.git]
/
libcfs
/
include
/
libcfs
/
libcfs_string.h
diff --git
a/libcfs/include/libcfs/libcfs_string.h
b/libcfs/include/libcfs/libcfs_string.h
index
ab03578
..
4935821
100644
(file)
--- a/
libcfs/include/libcfs/libcfs_string.h
+++ b/
libcfs/include/libcfs/libcfs_string.h
@@
-58,4
+58,7
@@
int cfs_vsnprintf(char *buf, size_t size, const char *fmt, va_list args);
/* safe snprintf */
int cfs_snprintf(char *buf, size_t size, const char *fmt, ...);
+
+/* trim leading and trailing space characters */
+char *cfs_firststr(char *str, size_t size);
#endif