X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=includes%2Fstring.h;h=495e60530b39b08ea0b1be8c78c5694f3f63b00b;hb=9f87d9e27e74d9e06e0c93114ffd70a45ee152fa;hp=2aa7aaedb41206750ca1beac9a1c252b1e9c3fe5;hpb=393020b6e48719d27699dea6b29e53025bbd5123;p=pdclib diff --git a/includes/string.h b/includes/string.h index 2aa7aae..495e605 100644 --- a/includes/string.h +++ b/includes/string.h @@ -1,6 +1,6 @@ /* $Id$ */ -/* String handling +/* 7.21 String handling This file is part of the Public Domain C Library (PDCLib). Permission is granted to use, modify, and / or redistribute at will. @@ -9,10 +9,7 @@ #ifndef _PDCLIB_STRING_H #define _PDCLIB_STRING_H _PDCLIB_STRING_H -#ifndef _PDCLIB_INT_H -#define _PDCLIB_INT_H _PDCLIB_INT_H #include <_PDCLIB_int.h> -#endif #ifndef _PDCLIB_SIZE_T_DEFINED #define _PDCLIB_SIZE_T_DEFINED _PDCLIB_SIZE_T_DEFINED @@ -180,9 +177,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'). */