mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
Add string-helpers.c
This commit is contained in:
parent
51507df2e7
commit
7e55e2cd09
6 changed files with 47 additions and 54 deletions
11
include/common/string-helpers.h
Normal file
11
include/common/string-helpers.h
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#ifndef __LABWC_STRING_HELPERs_H
|
||||
#define __LABWC_STRING_HELPERS_H
|
||||
|
||||
/**
|
||||
* string_strip - strip white space left and right
|
||||
* Note: this function does a left skip, so the returning pointer cannot be
|
||||
* used to free any allocated memory
|
||||
*/
|
||||
char *string_strip(char *s);
|
||||
|
||||
#endif /* __LABWC_STRING_HELPERs_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue