aboutsummaryrefslogtreecommitdiffstats
path: root/strrcasechr_inv.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2018-11-25 11:28:48 +0100
committerMattias Andrée <maandree@kth.se>2018-11-25 11:28:48 +0100
commitec0cbe2001ab7d07b50a7ec016bd343b6ba78b80 (patch)
tree341ced459bfddc28797533c178f7a259ba10de25 /strrcasechr_inv.c
parentAdd man pages (diff)
downloadlibsimple-ec0cbe2001ab7d07b50a7ec016bd343b6ba78b80.tar.gz
libsimple-ec0cbe2001ab7d07b50a7ec016bd343b6ba78b80.tar.bz2
libsimple-ec0cbe2001ab7d07b50a7ec016bd343b6ba78b80.tar.xz
Add man pages
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--strrcasechr_inv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/strrcasechr_inv.c b/strrcasechr_inv.c
index 66a3837..5572a38 100644
--- a/strrcasechr_inv.c
+++ b/strrcasechr_inv.c
@@ -4,7 +4,7 @@
char *
-libsimple_strrcasechr_inv(const char *s_, int c) /* TODO man */
+libsimple_strrcasechr_inv(const char *s_, int c)
{
char *s = *(char **)(void *)&s_, lc = (char)tolower(c), uc = (char)toupper(c), *r = NULL;
if (lc != uc) {