shithub: riscv

Download patch

ref: 972577b61e09d1c60dffc3f28bc76dbf35b73e36
parent: 1fe69754b6e51dbdcbcc7846e870386a6cf2a6e6
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Dec 7 09:26:41 EST 2014

strcat(2): fix strchr() and strrchr() function prototypes (thanks BurnZeZ)

--- a/sys/man/2/strcat
+++ b/sys/man/2/strcat
@@ -38,10 +38,10 @@
 long	strlen(char *s)
 .PP
 .B
-char*	strchr(char *s, char c)
+char*	strchr(char *s, int c)
 .PP
 .B
-char*	strrchr(char *s, char c)
+char*	strrchr(char *s, int c)
 .PP
 .B
 char*	strpbrk(char *s1, char *s2)