Re: strcat strncat and strlen



vippstar@xxxxxxxxx wrote:

On Mar 31, 3:47 am, santosh <santosh....@xxxxxxxxx> wrote:
Bill Cunningham wrote:
Strncat is supposed to be better than strcat for some
reason I've read.

It does something different to what it's name would suggest. We have
had innumerable threads dealing with this topic. Just do a Google
search.

Is this because of a potential buffer overflow?

Well, it can be used with that aim, in which case it leaves an array
of char instead of a string in the destination.

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?

You are not making any sense. Are you asking why strlen exists? It
should be obvious, even to you. How else do you find the length of a
zero terminated string?

Can you or someone else please explain why everyone is still replying
to this "Bill Cunningham' troll?
It's clear he is a troll.

I was doubtful for a while, but I believe you are right. In any case,
even if he were not a troll, he seems to be unable to learn, so
replying to him seems increasingly pointless.

It's been noted countless times and he
*never* replies to the posts that call him a troll.
He always choses to take things out of context, to make
uncomprehensible sentences and ambiguous statements.
It's a troll. So.. why?

It was a case of "cutting him some slack" as Richard said. Bill has been
cut more slack than probably anyone else, but personally I'm done with
him.

.



Relevant Pages

  • Re: Generic Delegate Types explained (example)
    ... that my OP was troll bait. ... was learning about generic delegate types, ... you're talking down to me and the reader. ... you suggest people only reply to people replying to my posts. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Is anybody there ( 22.20 hrs ref point)
    ... La Puce off for replying to trolls. ... troll to pipe it down as he was becoming abusive. ... replying to Tony because he kept telling me to stop posting to ah. ... b) he became a friend and not only to me ...
    (uk.rec.gardening)
  • Re: My friend puts me on tilt
    ... pretending that he is not a troll and maybe one day your ... half-witted reply may get him to stop posting his drivel. ... Unfortunately, for those of us who have kill filed Studley, we are still ... to keep posting as long as you keep replying to him. ...
    (rec.gambling.poker)
  • Re: "I Promise to NEVER Tell Other People Not to Respond to Gary" RGP petition
    ... ridiculous pleas to "stop replying to the troll," as it simply doesn't ... I would like to sign a petition to vanquish petitions from RGP. ...
    (rec.games.pinball)
  • Re: Generic Delegate Types explained (example)
    ... Even if all you say is "that was entirely incorrect", that provides an opportunity to the troll for him to respond with another post. ... People need the intestinal fortitude to just let him post ridiculous things, and trust that they are so ridiculous that any reader paying attention will recognize them as ridiculous. ... I don't have any solid proof, but it's my belief that the risk to the quality of the newsgroup related to replying is greater than that related to not replying. ...
    (microsoft.public.dotnet.languages.csharp)