summaryrefslogtreecommitdiff
path: root/nuttx/lib
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-13 18:32:24 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-13 18:32:24 +0000
commitdf4622c8aa68493604f1e611eeb50c0960bb61a9 (patch)
tree1628300d9dbfac947ef9a9a8ec6013337cba17bb /nuttx/lib
parent0661f846bdd4ef584ab5d0e85e3fecf74a1d9922 (diff)
downloadnuttx-df4622c8aa68493604f1e611eeb50c0960bb61a9.tar.gz
nuttx-df4622c8aa68493604f1e611eeb50c0960bb61a9.tar.bz2
nuttx-df4622c8aa68493604f1e611eeb50c0960bb61a9.zip
Email address change in nuttx/
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5145 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/lib')
-rw-r--r--nuttx/lib/mqueue/mq_getattr.c2
-rw-r--r--nuttx/lib/mqueue/mq_setattr.c2
-rw-r--r--nuttx/lib/queue/dq_addafter.c2
-rw-r--r--nuttx/lib/queue/dq_addbefore.c2
-rw-r--r--nuttx/lib/queue/dq_addfirst.c2
-rw-r--r--nuttx/lib/queue/dq_addlast.c2
-rw-r--r--nuttx/lib/queue/dq_rem.c2
-rw-r--r--nuttx/lib/queue/dq_remfirst.c2
-rw-r--r--nuttx/lib/queue/dq_remlast.c2
-rw-r--r--nuttx/lib/queue/sq_addafter.c2
-rw-r--r--nuttx/lib/queue/sq_addfirst.c2
-rw-r--r--nuttx/lib/queue/sq_addlast.c2
-rw-r--r--nuttx/lib/queue/sq_rem.c2
-rw-r--r--nuttx/lib/queue/sq_remafter.c2
-rw-r--r--nuttx/lib/queue/sq_remfirst.c2
-rw-r--r--nuttx/lib/queue/sq_remlast.c2
-rw-r--r--nuttx/lib/string/lib_checkbase.c2
-rw-r--r--nuttx/lib/string/lib_isbasedigit.c2
-rw-r--r--nuttx/lib/string/lib_memcmp.c2
-rw-r--r--nuttx/lib/string/lib_memmove.c2
-rw-r--r--nuttx/lib/string/lib_memset.c2
-rw-r--r--nuttx/lib/string/lib_skipspace.c2
-rw-r--r--nuttx/lib/string/lib_strcasecmp.c2
-rw-r--r--nuttx/lib/string/lib_strcat.c124
-rw-r--r--nuttx/lib/string/lib_strcmp.c2
-rw-r--r--nuttx/lib/string/lib_strcpy.c2
-rw-r--r--nuttx/lib/string/lib_strcspn.c2
-rw-r--r--nuttx/lib/string/lib_strdup.c2
-rw-r--r--nuttx/lib/string/lib_strlen.c2
-rw-r--r--nuttx/lib/string/lib_strncasecmp.c2
-rw-r--r--nuttx/lib/string/lib_strncat.c2
-rw-r--r--nuttx/lib/string/lib_strncmp.c2
-rw-r--r--nuttx/lib/string/lib_strncpy.c2
-rw-r--r--nuttx/lib/string/lib_strndup.c2
-rw-r--r--nuttx/lib/string/lib_strnlen.c2
-rw-r--r--nuttx/lib/string/lib_strpbrk.c2
-rw-r--r--nuttx/lib/string/lib_strrchr.c2
-rw-r--r--nuttx/lib/string/lib_strspn.c2
-rw-r--r--nuttx/lib/string/lib_strstr.c2
-rw-r--r--nuttx/lib/string/lib_strtok.c2
-rw-r--r--nuttx/lib/string/lib_strtokr.c2
-rw-r--r--nuttx/lib/string/lib_strtol.c2
-rw-r--r--nuttx/lib/string/lib_strtoll.c2
-rw-r--r--nuttx/lib/string/lib_strtoul.c2
-rw-r--r--nuttx/lib/string/lib_strtoull.c2
45 files changed, 106 insertions, 106 deletions
diff --git a/nuttx/lib/mqueue/mq_getattr.c b/nuttx/lib/mqueue/mq_getattr.c
index 005ec0f24..9c9f47fdc 100644
--- a/nuttx/lib/mqueue/mq_getattr.c
+++ b/nuttx/lib/mqueue/mq_getattr.c
@@ -2,7 +2,7 @@
* lib/mqueue/mq_getattr.c
*
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/mqueue/mq_setattr.c b/nuttx/lib/mqueue/mq_setattr.c
index 5d82299fe..1276d64e8 100644
--- a/nuttx/lib/mqueue/mq_setattr.c
+++ b/nuttx/lib/mqueue/mq_setattr.c
@@ -2,7 +2,7 @@
* lib/mqueue/mq_setattr.c
*
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/queue/dq_addafter.c b/nuttx/lib/queue/dq_addafter.c
index e9f0d9a3e..bfbe0052d 100644
--- a/nuttx/lib/queue/dq_addafter.c
+++ b/nuttx/lib/queue/dq_addafter.c
@@ -2,7 +2,7 @@
* lib/queue/dq_addafter.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/queue/dq_addbefore.c b/nuttx/lib/queue/dq_addbefore.c
index c49dff78b..d740ea830 100644
--- a/nuttx/lib/queue/dq_addbefore.c
+++ b/nuttx/lib/queue/dq_addbefore.c
@@ -2,7 +2,7 @@
* lib/queue/dq_addbefore.c
*
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/queue/dq_addfirst.c b/nuttx/lib/queue/dq_addfirst.c
index 27da2c491..7c7312de3 100644
--- a/nuttx/lib/queue/dq_addfirst.c
+++ b/nuttx/lib/queue/dq_addfirst.c
@@ -2,7 +2,7 @@
* lib/queue/dq_addfirst.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/queue/dq_addlast.c b/nuttx/lib/queue/dq_addlast.c
index c7a060961..745deb27d 100644
--- a/nuttx/lib/queue/dq_addlast.c
+++ b/nuttx/lib/queue/dq_addlast.c
@@ -2,7 +2,7 @@
* lib/queue/dq_addlast.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/queue/dq_rem.c b/nuttx/lib/queue/dq_rem.c
index adf99efed..218427bf8 100644
--- a/nuttx/lib/queue/dq_rem.c
+++ b/nuttx/lib/queue/dq_rem.c
@@ -2,7 +2,7 @@
* lib/queue/dq_rem.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/queue/dq_remfirst.c b/nuttx/lib/queue/dq_remfirst.c
index c42f3f2cc..26c5fd7a6 100644
--- a/nuttx/lib/queue/dq_remfirst.c
+++ b/nuttx/lib/queue/dq_remfirst.c
@@ -2,7 +2,7 @@
* lib/queue/dq_remfirst.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/queue/dq_remlast.c b/nuttx/lib/queue/dq_remlast.c
index 6280a0e51..35adc73e2 100644
--- a/nuttx/lib/queue/dq_remlast.c
+++ b/nuttx/lib/queue/dq_remlast.c
@@ -2,7 +2,7 @@
* lib/queue/dq_remlast.c
*
* Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/queue/sq_addafter.c b/nuttx/lib/queue/sq_addafter.c
index 05e1157fd..965ac2844 100644
--- a/nuttx/lib/queue/sq_addafter.c
+++ b/nuttx/lib/queue/sq_addafter.c
@@ -2,7 +2,7 @@
* lib/queue/sq_addafter.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/queue/sq_addfirst.c b/nuttx/lib/queue/sq_addfirst.c
index 8f55053d4..8fc8e0619 100644
--- a/nuttx/lib/queue/sq_addfirst.c
+++ b/nuttx/lib/queue/sq_addfirst.c
@@ -2,7 +2,7 @@
* lib/queue/sq_addfirst.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/queue/sq_addlast.c b/nuttx/lib/queue/sq_addlast.c
index 15054a703..f9f9625cc 100644
--- a/nuttx/lib/queue/sq_addlast.c
+++ b/nuttx/lib/queue/sq_addlast.c
@@ -2,7 +2,7 @@
* lib/queue/sq_addlast.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/queue/sq_rem.c b/nuttx/lib/queue/sq_rem.c
index 972e8e1c3..6ba52354d 100644
--- a/nuttx/lib/queue/sq_rem.c
+++ b/nuttx/lib/queue/sq_rem.c
@@ -2,7 +2,7 @@
* lib/queue/sq_rem.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/queue/sq_remafter.c b/nuttx/lib/queue/sq_remafter.c
index 781a2b6ad..4dcfb06e4 100644
--- a/nuttx/lib/queue/sq_remafter.c
+++ b/nuttx/lib/queue/sq_remafter.c
@@ -2,7 +2,7 @@
* lib/queue/sq_remafter.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/queue/sq_remfirst.c b/nuttx/lib/queue/sq_remfirst.c
index 5a273ad6a..43df6de41 100644
--- a/nuttx/lib/queue/sq_remfirst.c
+++ b/nuttx/lib/queue/sq_remfirst.c
@@ -2,7 +2,7 @@
* lib/queue/sq_remfirst.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/queue/sq_remlast.c b/nuttx/lib/queue/sq_remlast.c
index a66c6bcbb..92cdbde98 100644
--- a/nuttx/lib/queue/sq_remlast.c
+++ b/nuttx/lib/queue/sq_remlast.c
@@ -2,7 +2,7 @@
* lib/queue/sq_remlast.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/string/lib_checkbase.c b/nuttx/lib/string/lib_checkbase.c
index bec131b5c..bc79ab2ce 100644
--- a/nuttx/lib/string/lib_checkbase.c
+++ b/nuttx/lib/string/lib_checkbase.c
@@ -2,7 +2,7 @@
* lib/string/lib_checkbase.c
*
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/string/lib_isbasedigit.c b/nuttx/lib/string/lib_isbasedigit.c
index 26426e821..a2421bf2a 100644
--- a/nuttx/lib/string/lib_isbasedigit.c
+++ b/nuttx/lib/string/lib_isbasedigit.c
@@ -2,7 +2,7 @@
* lib/string/lib_isbasedigit.c
*
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/string/lib_memcmp.c b/nuttx/lib/string/lib_memcmp.c
index cd874a85e..eb2e1fd12 100644
--- a/nuttx/lib/string/lib_memcmp.c
+++ b/nuttx/lib/string/lib_memcmp.c
@@ -2,7 +2,7 @@
* lib/string/lib_memcmp.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/string/lib_memmove.c b/nuttx/lib/string/lib_memmove.c
index 97bac99ed..ecaeb54cf 100644
--- a/nuttx/lib/string/lib_memmove.c
+++ b/nuttx/lib/string/lib_memmove.c
@@ -2,7 +2,7 @@
* lib/string/lib_memmove.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/string/lib_memset.c b/nuttx/lib/string/lib_memset.c
index f3a5497a9..916351b97 100644
--- a/nuttx/lib/string/lib_memset.c
+++ b/nuttx/lib/string/lib_memset.c
@@ -2,7 +2,7 @@
* lib/string/lib_memset.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/string/lib_skipspace.c b/nuttx/lib/string/lib_skipspace.c
index 826559efe..b4e6588e5 100644
--- a/nuttx/lib/string/lib_skipspace.c
+++ b/nuttx/lib/string/lib_skipspace.c
@@ -2,7 +2,7 @@
* lib/string/lib_skipspace.c
*
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/string/lib_strcasecmp.c b/nuttx/lib/string/lib_strcasecmp.c
index ed5217831..d4aa8cc03 100644
--- a/nuttx/lib/string/lib_strcasecmp.c
+++ b/nuttx/lib/string/lib_strcasecmp.c
@@ -2,7 +2,7 @@
* lib/string/lib_strcasecmp.c
*
* Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/string/lib_strcat.c b/nuttx/lib/string/lib_strcat.c
index 2d12dd5a6..20350fec0 100644
--- a/nuttx/lib/string/lib_strcat.c
+++ b/nuttx/lib/string/lib_strcat.c
@@ -1,62 +1,62 @@
-/****************************************************************************
- * lib/string/lib_strcat.c
- *
- * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- * 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.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
- * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
- * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
- * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- *
- ****************************************************************************/
-
-/****************************************************************************
- * Included Files
- ****************************************************************************/
-
-#include <nuttx/config.h>
-
-#include <string.h>
-
-/****************************************************************************
- * Global Functions
- ****************************************************************************/
-
-#ifndef CONFIG_ARCH_STRCAT
-char *strcat(char *dest, const char *src)
-{
- char *ret = dest;
-
- dest += strlen(dest);
- while (*src != '\0')
- {
- *dest++ = *src++;
- }
- *dest = '\0';
-
- return ret;
-}
-#endif
+/****************************************************************************
+ * lib/string/lib_strcat.c
+ *
+ * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
+ * Author: Gregory Nutt <gnutt@nuttx.org>
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
+ * the documentation and/or other materials provided with the
+ * distribution.
+ * 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.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+ * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+ * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
+ * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
+ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ *
+ ****************************************************************************/
+
+/****************************************************************************
+ * Included Files
+ ****************************************************************************/
+
+#include <nuttx/config.h>
+
+#include <string.h>
+
+/****************************************************************************
+ * Global Functions
+ ****************************************************************************/
+
+#ifndef CONFIG_ARCH_STRCAT
+char *strcat(char *dest, const char *src)
+{
+ char *ret = dest;
+
+ dest += strlen(dest);
+ while (*src != '\0')
+ {
+ *dest++ = *src++;
+ }
+ *dest = '\0';
+
+ return ret;
+}
+#endif
diff --git a/nuttx/lib/string/lib_strcmp.c b/nuttx/lib/string/lib_strcmp.c
index 1d78cb049..0e3eee890 100644
--- a/nuttx/lib/string/lib_strcmp.c
+++ b/nuttx/lib/string/lib_strcmp.c
@@ -2,7 +2,7 @@
* lib/string/lib_strcmp.c
*
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/string/lib_strcpy.c b/nuttx/lib/string/lib_strcpy.c
index 774e15534..e2f70b94e 100644
--- a/nuttx/lib/string/lib_strcpy.c
+++ b/nuttx/lib/string/lib_strcpy.c
@@ -2,7 +2,7 @@
* lib/string/lib_strcpy.c
*
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/string/lib_strcspn.c b/nuttx/lib/string/lib_strcspn.c
index b28f22343..9da89241c 100644
--- a/nuttx/lib/string/lib_strcspn.c
+++ b/nuttx/lib/string/lib_strcspn.c
@@ -2,7 +2,7 @@
* lib/string/lib_strcspn.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/string/lib_strdup.c b/nuttx/lib/string/lib_strdup.c
index a353c629d..44a0cbc0d 100644
--- a/nuttx/lib/string/lib_strdup.c
+++ b/nuttx/lib/string/lib_strdup.c
@@ -2,7 +2,7 @@
* lib/string//lib_strdup.c
*
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/string/lib_strlen.c b/nuttx/lib/string/lib_strlen.c
index ee964c137..833305809 100644
--- a/nuttx/lib/string/lib_strlen.c
+++ b/nuttx/lib/string/lib_strlen.c
@@ -2,7 +2,7 @@
* lib/string/lib_strlen.c
*
* Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/string/lib_strncasecmp.c b/nuttx/lib/string/lib_strncasecmp.c
index 78b18a3fb..be369cf0d 100644
--- a/nuttx/lib/string/lib_strncasecmp.c
+++ b/nuttx/lib/string/lib_strncasecmp.c
@@ -2,7 +2,7 @@
* lib/string/lib_strncasecmp.c
*
* Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/string/lib_strncat.c b/nuttx/lib/string/lib_strncat.c
index 6b7d54f81..af893e0f9 100644
--- a/nuttx/lib/string/lib_strncat.c
+++ b/nuttx/lib/string/lib_strncat.c
@@ -2,7 +2,7 @@
* lib/string/lib_strncat.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/string/lib_strncmp.c b/nuttx/lib/string/lib_strncmp.c
index 147dfc536..ce2282024 100644
--- a/nuttx/lib/string/lib_strncmp.c
+++ b/nuttx/lib/string/lib_strncmp.c
@@ -2,7 +2,7 @@
* lib/lib_strncmp.c
*
* Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/string/lib_strncpy.c b/nuttx/lib/string/lib_strncpy.c
index b5702cae2..149369d50 100644
--- a/nuttx/lib/string/lib_strncpy.c
+++ b/nuttx/lib/string/lib_strncpy.c
@@ -2,7 +2,7 @@
* lib/string/lib_strncpy.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/string/lib_strndup.c b/nuttx/lib/string/lib_strndup.c
index 68b7c74c3..ffaf892ea 100644
--- a/nuttx/lib/string/lib_strndup.c
+++ b/nuttx/lib/string/lib_strndup.c
@@ -2,7 +2,7 @@
* lib/string//lib_strndup.c
*
* Copyright (C) 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/string/lib_strnlen.c b/nuttx/lib/string/lib_strnlen.c
index c2ffc248e..2b64fe984 100644
--- a/nuttx/lib/string/lib_strnlen.c
+++ b/nuttx/lib/string/lib_strnlen.c
@@ -9,7 +9,7 @@
* Derives from the file lib/lib_strlen.c:
*
* Copyright (C) 2007, 2008, 2010 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/string/lib_strpbrk.c b/nuttx/lib/string/lib_strpbrk.c
index 134058775..02e2ea2c7 100644
--- a/nuttx/lib/string/lib_strpbrk.c
+++ b/nuttx/lib/string/lib_strpbrk.c
@@ -2,7 +2,7 @@
* lib/string/lib_strpbrk.c
*
* Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use str source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/string/lib_strrchr.c b/nuttx/lib/string/lib_strrchr.c
index e89b26d52..91243ce58 100644
--- a/nuttx/lib/string/lib_strrchr.c
+++ b/nuttx/lib/string/lib_strrchr.c
@@ -2,7 +2,7 @@
* lib/string/lib_strrchr.c
*
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/string/lib_strspn.c b/nuttx/lib/string/lib_strspn.c
index e5cab9ad6..e7b5ea0a5 100644
--- a/nuttx/lib/string/lib_strspn.c
+++ b/nuttx/lib/string/lib_strspn.c
@@ -2,7 +2,7 @@
* lib/string/lib_strspn.c
*
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/string/lib_strstr.c b/nuttx/lib/string/lib_strstr.c
index 27ca6e19b..b8c896fa2 100644
--- a/nuttx/lib/string/lib_strstr.c
+++ b/nuttx/lib/string/lib_strstr.c
@@ -2,7 +2,7 @@
* lib/string/lib_strstr.c
*
* Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use str source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/string/lib_strtok.c b/nuttx/lib/string/lib_strtok.c
index bafa94853..c40993135 100644
--- a/nuttx/lib/string/lib_strtok.c
+++ b/nuttx/lib/string/lib_strtok.c
@@ -2,7 +2,7 @@
* lib/string/lib_strtok.c
*
* Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/string/lib_strtokr.c b/nuttx/lib/string/lib_strtokr.c
index 0d12a2381..1c571b6ae 100644
--- a/nuttx/lib/string/lib_strtokr.c
+++ b/nuttx/lib/string/lib_strtokr.c
@@ -2,7 +2,7 @@
* lib/string/lib_strtokr.c
*
* Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/string/lib_strtol.c b/nuttx/lib/string/lib_strtol.c
index 4f6904793..c17d87e63 100644
--- a/nuttx/lib/string/lib_strtol.c
+++ b/nuttx/lib/string/lib_strtol.c
@@ -2,7 +2,7 @@
* lib/string/lib_strtol.c
*
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/string/lib_strtoll.c b/nuttx/lib/string/lib_strtoll.c
index 9c730b431..242e025c0 100644
--- a/nuttx/lib/string/lib_strtoll.c
+++ b/nuttx/lib/string/lib_strtoll.c
@@ -2,7 +2,7 @@
* lib/string/lib_strtoll.c
*
* Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/string/lib_strtoul.c b/nuttx/lib/string/lib_strtoul.c
index 2aacc7cea..b0d2d090e 100644
--- a/nuttx/lib/string/lib_strtoul.c
+++ b/nuttx/lib/string/lib_strtoul.c
@@ -2,7 +2,7 @@
* /lib/string/lib_strtoul.c
*
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
diff --git a/nuttx/lib/string/lib_strtoull.c b/nuttx/lib/string/lib_strtoull.c
index 334162148..6567457c0 100644
--- a/nuttx/lib/string/lib_strtoull.c
+++ b/nuttx/lib/string/lib_strtoull.c
@@ -2,7 +2,7 @@
* /lib/string/lib_strtoull.c
*
* Copyright (C) 2009, 2010 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions