diff options
Diffstat (limited to 'src/string/strtok.c')
-rw-r--r-- | src/string/strtok.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/string/strtok.c b/src/string/strtok.c index b48bba18..7abe7303 100644 --- a/src/string/strtok.c +++ b/src/string/strtok.c @@ -16,6 +16,8 @@ char * strtok(char * restrict s1, const char * restrict s2) } /* nothing is copied, overlap is OK */ + /* TODO: two dangerous reads */ + /* RETURN(CONSTANT(NULL), there are no further tokens, only token separators); RETURN(NONNULL, a pointer to the first character of the next token); |