Re: Faster StrNCpy - Mailing list pgsql-hackers

From Zeugswetter Andreas DCP SD
Subject Re: Faster StrNCpy
Date
Msg-id E1539E0ED7043848906A8FF995BDA57901626693@m0143.s-mxs.net
Whole thread Raw
In response to Re: Faster StrNCpy  (mark@mark.mielke.cc)
Responses Re: Faster StrNCpy  (mark@mark.mielke.cc)
List pgsql-hackers
> > > I'm still interested to experiment with MemSet-then-strlcpy for
> > > namestrcpy, but given the LENCPY results this may be a loser too.
> > Um, why not strlcpy then MemSet the rest ?
>
> That's what strncpy() is supposed to be doing.

Yes, but it obviously does not in some ports, and that was the main
problem
as I interpreted it.

Andreas


pgsql-hackers by date:

Previous
From: mark@mark.mielke.cc
Date:
Subject: Re: Faster StrNCpy
Next
From: Zdenek Kotala
Date:
Subject: PG qsort vs. Solaris