Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-02-21 10:05:33

0001 /*
0002  *  str.h  --
0003  *  declare str routines
0004  *
0005  *  Original: 22-Jun-1994 00:52
0006  *
0007  *  Author:   Maarten Ballintijn <Maarten.Ballintijn@cern.ch>
0008  *
0009  *  $Id$
0010  *
0011  *  $Log$
0012  *  Revision 1.8  1996/04/23 18:39:12  maartenb
0013  *  - Add RCS keywords
0014  *
0015  *
0016  *  $Id$
0017  *
0018  *  $Log$
0019  *  Revision 1.8  1996/04/23 18:39:12  maartenb
0020  *  - Add RCS keywords
0021  *
0022  *  Revision 1.7  1996/04/23 18:18:51  maartenb
0023  *  - Add proper multiple include guard.
0024  *
0025  *  Revision 1.6  1996/04/23 18:17:00  maartenb
0026  *  - Typographical fixes
0027  *
0028  *  - RCS keywords
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  /*  CERN_STR    */