summaryrefslogtreecommitdiff
path: root/nuttx/include/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/include/string.h')
-rw-r--r--nuttx/include/string.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/include/string.h b/nuttx/include/string.h
index b538fc4e9..4aa5a48dc 100644
--- a/nuttx/include/string.h
+++ b/nuttx/include/string.h
@@ -1,7 +1,7 @@
/****************************************************************************
* include/string.h
*
- * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007-2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -64,6 +64,7 @@ EXTERN char *strchr(const char *s, int c);
EXTERN FAR char *strdup(const char *s);
EXTERN const char *strerror(int);
EXTERN size_t strlen(const char *);
+EXTERN size_t strnlen(const char *, size_t);
EXTERN char *strcat(char *, const char *);
EXTERN char *strncat(char *, const char *, size_t);
EXTERN int strcmp(const char *, const char *);