strlib.h File Reference
Various string handling routines to complement the C lib. More...
#include <stdio.h>
#include <stdlib.h>
Include dependency graph for strlib.h:

Go to the source code of this file.
Functions | |
char * | strcrop (char *s) |
char * | strlwc (const char *s) |
char * | strskp (char *s) |
char * | strstrip (char *s) |
char * | strupc (char *s) |
Detailed Description
Various string handling routines to complement the C lib.
- Date:
- Jan 2001
- Version:
- Revision
- 1.4
Definition in file strlib.h.
Function Documentation
char* strcrop | ( | char * | s | ) |
Remove blanks at the end of a string.
- Parameters:
-
s String to parse.
- Returns:
- ptr to statically allocated string.
char* strlwc | ( | const char * | s | ) |
Convert a string to lowercase.
- Parameters:
-
s String to convert.
- Returns:
- ptr to statically allocated string.
char* strskp | ( | char * | s | ) |
Skip blanks until the first non-blank character.
- Parameters:
-
s String to parse.
- Returns:
- Pointer to char inside given string.
char* strstrip | ( | char * | s | ) |
Remove blanks at the beginning and the end of a string.
- Parameters:
-
s String to parse.
- Returns:
- ptr to statically allocated string.
char* strupc | ( | char * | s | ) |
Convert a string to uppercase.
- Parameters:
-
s String to convert.
- Returns:
- ptr to statically allocated string.