comp.lang.c
[Top] [All Lists]

strcat strncat and strlen

Subject: strcat strncat and strlen
From: "Bill Cunningham"
Date: Mon, 31 Mar 2008 00:38:27 GMT
Newsgroups: comp.lang.c

        Strncat is supposed to be better than strcat for some reason I've 
read. Is this because of a potential buffer overflow? I have compiled 
properly and used strlen too and I just wonder what is the need to return a 
strlen?

    Has anyone used quite abit anyway the strlen function?

Bill



<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy