mirror of https://github.com/parasyte/alt64
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
574 B
25 lines
574 B
![]()
9 years ago
|
#ifndef STRLIB_H_
|
||
|
enum strtrim_mode_t {
|
||
|
STRLIB_MODE_ALL = 0,
|
||
|
STRLIB_MODE_RIGHT = 0x01,
|
||
|
STRLIB_MODE_LEFT = 0x02,
|
||
|
STRLIB_MODE_BOTH = 0x03
|
||
|
};
|
||
|
|
||
|
char *strcpytrim(char *d, // destination
|
||
|
char *s, // source
|
||
|
int mode,
|
||
|
char *delim
|
||
|
);
|
||
|
|
||
|
char *strtriml(char *d, char *s);
|
||
|
char *strtrimr(char *d, char *s);
|
||
|
char *strtrim(char *d, char *s);
|
||
|
char *strstrlibkill(char *d, char *s);
|
||
|
|
||
|
char *triml(char *s);
|
||
|
char *trimr(char *s);
|
||
|
char *trim(char *s);
|
||
|
char *strlibkill(char *s);
|
||
|
#endif
|