$Revision: 1.5 $
string utilities (ut).
Status: NOT REVUED, NOT TESTED
Included Files
Preprocessor definitions
#define SPACE 0
#define WORD 1
pthread_mutex_t Lock
void
ut_string_chop removes trailing whitespaces from the string, replacing
them with '\0' characters.
So it modifies the source string.
void ut_string_chop ( char* input )
- char* input
- source string
char *
ut_string_compress removes leading/trailing whitespaces and compresses
multiple whitespaces to one. The result is an allocated
string and must be freed.
char* ut_string_compress ( char* input )
- char* input
- source string
static char* asctime_r ( const struct tm* __tm, char* __buf )
static char* ctime_r ( const time_t* __time, char* __buf )
static int getlogin_r ( char* __name, int __len )
static int readdir_r ( DIR* __dp, struct dirent* __ent, struct dirent** __res )
static int sigwait ( const sigset_t* __setp, int* __signo )
static int ttyname_r ( int __fildes, char* __buf, size_t __size )