summaryrefslogtreecommitdiff
path: root/nuttx/lib/lib_strlen.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-08-22 23:38:33 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-08-22 23:38:33 +0000
commitb0c7d2e83b464bc3b620dd389de1bceba453909d (patch)
tree30bf114247b468440ddf59a026c6a205cde6b5f0 /nuttx/lib/lib_strlen.c
parentab92a9dd0a6a84517ec966e5c79e4e692970ba16 (diff)
downloadpx4-nuttx-b0c7d2e83b464bc3b620dd389de1bceba453909d.tar.gz
px4-nuttx-b0c7d2e83b464bc3b620dd389de1bceba453909d.tar.bz2
px4-nuttx-b0c7d2e83b464bc3b620dd389de1bceba453909d.zip
Add chdir() and getcwd()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@837 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/lib/lib_strlen.c')
-rw-r--r--nuttx/lib/lib_strlen.c22
1 files changed, 9 insertions, 13 deletions
diff --git a/nuttx/lib/lib_strlen.c b/nuttx/lib/lib_strlen.c
index f2cf6f227..9c829c61f 100644
--- a/nuttx/lib/lib_strlen.c
+++ b/nuttx/lib/lib_strlen.c
@@ -1,7 +1,7 @@
-/************************************************************
- * lib_strlen.c
+/****************************************************************************
+ * lib/lib_strlen.c
*
- * Copyright (C) 2007 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -31,23 +31,19 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
- ************************************************************/
+ ****************************************************************************/
-/************************************************************
- * Compilation Switches
- ************************************************************/
-
-/************************************************************
+/****************************************************************************
* Included Files
- ************************************************************/
+ ****************************************************************************/
#include <nuttx/config.h>
#include <sys/types.h>
#include <string.h>
-/************************************************************
+/****************************************************************************
* Global Functions
- ************************************************************/
+ ****************************************************************************/
#ifndef CONFIG_ARCH_STRLEN
size_t strlen(const char *s)