doc
This commit is contained in:
1 parent
12e75c541c
commit
267b56d495
1 file changed
+9
@@ -156,6 +156,15 @@ LIBCOM_API int epicsStrnGlobMatch(const char *str, size_t len, const char *patte
|
||||
/** \brief Extract tokens from string
|
||||
*
|
||||
* Implements strtok_r from the C standard library
|
||||
*
|
||||
* @code
|
||||
* char *input = ...; // string will be temporarily modified
|
||||
* char *saved = nullptr;
|
||||
* for(char* word = epicsStrtok_r(input, " ", &saved)
|
||||
* ; word
|
||||
* ; word = epicsStrtok_r(NULL, " ", &saved))
|
||||
* { } // act on word
|
||||
* @endcode
|
||||
*/
|
||||
LIBCOM_API char * epicsStrtok_r(char *s, const char *delim, char **lasts);
|
||||
|
||||
|
||||
Reference in new issue
Block a user