]> pd.if.org Git - pdclib/blobdiff - includes/string.h
Ad-hoc solutions for perror() and strerror().
[pdclib] / includes / string.h
index 2aa7aaedb41206750ca1beac9a1c252b1e9c3fe5..ef70df00ce952cd3f6054a01450ba135d57086f8 100644 (file)
@@ -180,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').
 */