]> pd.if.org Git - pdclib/blobdiff - includes/string.h
Started out on v0.6.
[pdclib] / includes / string.h
index c8ac5c619d9697a68a59dd8a1d0c3597d2424354..c5f74b5e50729bf3f97bedf149ca460fcba74285 100644 (file)
@@ -1,8 +1,6 @@
 /* $Id$ */
 
-/* Release $Name$ */
-
-/* String handling <string.h>
+/* 7.21 String handling <string.h>
 
    This file is part of the Public Domain C Library (PDCLib).
    Permission is granted to use, modify, and / or redistribute at will.
 typedef _PDCLIB_size_t size_t;
 #endif
 
+#ifndef _PDCLIB_NULL_DEFINED
+#define _PDCLIB_NULL_DEFINED _PDCLIB_NULL_DEFINED
 #define NULL _PDCLIB_NULL
+#endif
 
 /* String function conventions */
 
@@ -179,9 +180,8 @@ void * memset( void * s, int c, size_t n );
 /* Map an error number to a (locale-specific) error message string. Error
    numbers are typically errno values, but any number is mapped to a message.
    TODO: PDCLib does not yet support locales.
-   TODO: strerror() not yet implemented.
-char * strerror( int errnum );
 */
+char * strerror( int errnum );
 
 /* Returns the length of the string s (excluding terminating '\0').
 */