#include <sent/stddefs.h>
mystrtok.cのインクルード依存関係図

マクロ定義 | |
| #define | ISTOKEN(A) strchr(delim, A) | 
| Abbreviation macro to find if A is included in string delim  | |
関数 | |
| char * | mystrtok_quotation (char *str, char *delim, int left_paren, int right_paren, int mode) | 
| char * | mystrtok_quote (char *str, char *delim) | 
| char * | mystrtok (char *str, char *delim) | 
| char * | mystrtok_movetonext (char *str, char *delim) | 
mystrtok.c で定義されています。
| char* mystrtok_quotation | ( | char * | str, | |
| char * | delim, | |||
| int | left_paren, | |||
| int | right_paren, | |||
| int | mode | |||
| ) | 
Generic function to extract tokens from strings, with quotation handling. The usage is as the same as strtok.
| str | [i/o] source string, or NULL when this is a continuous call from previous call. Will be truncated in this function. | |
| delim | [in] string to specify the delimiters. | |
| left_paren | [in] left brace | |
| right_paren | [in] right brace | |
| mode | [in] if 1, just move to the beginning of next token | 
mystrtok.c の 50 行で定義されています。
参照元 mystrtok()・mystrtok_movetonext()・mystrtok_quote()・voca_load_htkdict_line().
| char* mystrtok_quote | ( | char * | str, | |
| char * | delim | |||
| ) | 
Extract tokens considering quotation by double quotation mark.
| str | [i/o] source string, will be truncated. | |
| delim | [in] string of all token delimiters | 
mystrtok.c の 104 行で定義されています。
参照元 read_token().
| char* mystrtok | ( | char * | str, | |
| char * | delim | |||
| ) | 
Extract tokens, not considering quotation, just as the same as strtok.
| str | [i/o] source string, will be truncated. | |
| delim | [in] string of all token delimiters | 
mystrtok.c の 118 行で定義されています。
| char* mystrtok_movetonext | ( | char * | str, | |
| char * | delim | |||
| ) | 
Just move to the beginning of the next token, without modifying the str.
| str | [i/o] source string, will be truncated. | |
| delim | [in] string of all token delimiters | 
mystrtok.c の 132 行で定義されています。
 1.5.0