aboutsummaryrefslogtreecommitdiffstats
path: root/strnchrnul_inv.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2018-11-24 15:26:17 +0100
committerMattias Andrée <maandree@kth.se>2018-11-24 15:26:17 +0100
commitce78c6d371f688ea7d6473f744fe7d09bf12121e (patch)
tree692c842ecf97f7c081f538f2b969cc5c1a8fc380 /strnchrnul_inv.c
parentAdd tests for memelem{move,cpy} (diff)
downloadlibsimple-ce78c6d371f688ea7d6473f744fe7d09bf12121e.tar.gz
libsimple-ce78c6d371f688ea7d6473f744fe7d09bf12121e.tar.bz2
libsimple-ce78c6d371f688ea7d6473f744fe7d09bf12121e.tar.xz
Add man pages
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--strnchrnul_inv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/strnchrnul_inv.c b/strnchrnul_inv.c
index 142b9c7..a887221 100644
--- a/strnchrnul_inv.c
+++ b/strnchrnul_inv.c
@@ -4,7 +4,7 @@
char *
-libsimple_strnchrnul_inv(const char *s_, int c_, size_t n) /* TODO man */
+libsimple_strnchrnul_inv(const char *s_, int c_, size_t n)
{
char *s = *(char **)(void *)&s_, c = (char)c_;
char *end = &s[n];