File indexing completed on 2025-02-21 10:05:33
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033 #ifndef CERN_STR
0034 #define CERN_STR
0035
0036 #include <stdarg.h>
0037
0038
0039 char *
0040 str_new( const char * const s );
0041
0042 char *
0043 str_alloc( const int len );
0044
0045 char *
0046 str_merge( char * s, ... );
0047
0048 char *
0049 str_vmerge( char * s, va_list ap );
0050
0051 void
0052 str_del( char * s );
0053
0054 char *
0055 str_toupper( const char * const s );
0056
0057 char *
0058 str_tolower( const char * const s );
0059
0060 int
0061 str_atoi( const char * const s, const int base, int * valp );
0062
0063 int
0064 str_atol( const char * const s, const int base, long * valp );
0065
0066 char *
0067 str_subrange( const char * const s, int from, int len );
0068
0069 #endif