summaryrefslogtreecommitdiff
path: root/src/string/strspn.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/strspn.c
parent0b0d1fe1d4fbf8560577d81e5af0549683eac8ba (diff)
formatting
Diffstat (limited to 'src/string/strspn.c')
-rw-r--r--src/string/strspn.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/string/strspn.c b/src/string/strspn.c
index 450b541f..098ea8d0 100644
--- a/src/string/strspn.c
+++ b/src/string/strspn.c
@@ -2,6 +2,7 @@
#include "_assert.h"
/** count matching characters **/
+
size_t strspn(const char *s1, const char *s2)
{
size_t i = 0;
@@ -22,7 +23,8 @@ size_t strspn(const char *s1, const char *s2)
computes the length of the maximum initial segment of the ARGUMENT(s1) made
up of characters from ARGUMENT(s2).
***/
+
/*
- RETURN_ALWAYS(the number of matching characters);
+RETURN_ALWAYS(the number of matching characters);
STDC(1)
*/