summaryrefslogtreecommitdiff
path: root/src/port
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2009-03-30 18:11:19 +0200
committerAndreas Baumann <abaumann@yahoo.com>2009-03-30 18:11:19 +0200
commit181c176bc16d57a3dcb42b3657290ce1dbf7695f (patch)
tree226594c69e8a7d3035f9a2475bb512cb05168b0d /src/port
parent8c0d332229b887595d01e77a501cb6a986b70be6 (diff)
downloadwolfbones-181c176bc16d57a3dcb42b3657290ce1dbf7695f.tar.gz
wolfbones-181c176bc16d57a3dcb42b3657290ce1dbf7695f.tar.bz2
started to add thread stuff, mutexes first
Diffstat (limited to 'src/port')
-rw-r--r--src/port/string.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/port/string.c b/src/port/string.c
index e05dfbd..da0dfce 100644
--- a/src/port/string.c
+++ b/src/port/string.c
@@ -47,6 +47,9 @@ char *wolf_port_strdup( const char *s ) {
#include <sys/types.h> /* for size_t */
#include <errno.h> /* for errno */
+/* FIXME: this version is NOT thread and signal safe! But we have to port
+ * mutexes first
+ */
int wolf_port_strerror_r( int num, char *buf, size_t buflen ) {
int safe_errno = errno;
const char *msg;