summaryrefslogtreecommitdiff
path: root/src/string/strtok.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-08-16 14:00:51 -0400
committerJakob Kaivo <jkk@ung.org>2020-08-16 14:00:51 -0400
commit896e28812c51b9ffdf3efc00c7d7ef699e380a58 (patch)
treeaaa25e093fb4a2ac4c57609e1f745e5ac0734ca8 /src/string/strtok.c
parent0b0d1fe1d4fbf8560577d81e5af0549683eac8ba (diff)
formatting
Diffstat (limited to 'src/string/strtok.c')
-rw-r--r--src/string/strtok.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/string/strtok.c b/src/string/strtok.c
index 141d3982..f6c340ef 100644
--- a/src/string/strtok.c
+++ b/src/string/strtok.c
@@ -2,6 +2,7 @@
#include "_assert.h"
/** split string into tokens **/
+
char * strtok(char * restrict s1, const char * restrict s2)
{
static char *current = 0;
@@ -31,6 +32,7 @@ The list of token separators in ARGUMENT(s2) may vary from call to call.
When tokens are found, the next token separate character is replaced with a
CHAR(\0), terminating the token.
***/
+
/*
STDC(1)
*/