diff options
author | Mattias Andrée <maandree@kth.se> | 2018-11-24 15:26:17 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2018-11-24 15:26:17 +0100 |
commit | ce78c6d371f688ea7d6473f744fe7d09bf12121e (patch) | |
tree | 692c842ecf97f7c081f538f2b969cc5c1a8fc380 /rawmemrchr_inv.c | |
parent | Add tests for memelem{move,cpy} (diff) | |
download | libsimple-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-- | rawmemrchr_inv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rawmemrchr_inv.c b/rawmemrchr_inv.c index 6c6b9db..c6a9b22 100644 --- a/rawmemrchr_inv.c +++ b/rawmemrchr_inv.c @@ -4,7 +4,7 @@ void * -libsimple_rawmemrchr_inv(const void *s_, int c_, size_t n) /* TODO man */ +libsimple_rawmemrchr_inv(const void *s_, int c_, size_t n) { char *s = *(char **)(void *)&s_, c = (char)c_; while (s[--n] == c); |