summaryrefslogtreecommitdiff
path: root/include/linux/string.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2015-10-09 10:40:29 -0600
committerJens Axboe <axboe@fb.com>2015-10-09 10:40:29 -0600
commit54ef2b96879334caf8803fdd93b4c556d709d6fd (patch)
tree05cfeb36feeb4451f8f4c7069a86ae3490027daf /include/linux/string.h
parentf7e7868b4743f1cc5e59e6e0ddd3ccf9cfe53a1b (diff)
parentfd48ca384960c831d4fae4636282e422e140ca7c (diff)
Merge branch 'for-4.4/core' into for-4.4/drivers
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include/linux/string.h')
-rw-r--r--include/linux/string.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/string.h b/include/linux/string.h
index a8d90db9c4b0..9ef7795e65e4 100644
--- a/include/linux/string.h
+++ b/include/linux/string.h
@@ -25,6 +25,9 @@ extern char * strncpy(char *,const char *, __kernel_size_t);
#ifndef __HAVE_ARCH_STRLCPY
size_t strlcpy(char *, const char *, size_t);
#endif
+#ifndef __HAVE_ARCH_STRSCPY
+ssize_t __must_check strscpy(char *, const char *, size_t);
+#endif
#ifndef __HAVE_ARCH_STRCAT
extern char * strcat(char *, const char *);
#endif