> Lawrence D'Oliveiro <l...@geek-central.gen.new_zealand> wrote:Like strtok, it serves a niche purpose that doesn't come up as
> > Another function that should be deprecated is strncat???
> > I myself was caught out misunderstanding it recently.
> > What purpose does it serve?
often as people might think.
Seebs <usenet-nos...@seebs.net> wrote:Yet it's actually strncat that is the odd one out of the trio...
> I'm wondering if you're thinking of strncpy(),
> which is the famously bogus one.
strncat(p, q, n) - p is string, q is array
If they were prefixed memn, instead of strn, then I'm reasonably
The problem with strncpy is not that it pads with zero or won't
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.