[TUHS] History of strncpy
Jonathan Gevaryahu
jgevaryahu at hotmail.com
Thu Jan 24 10:37:51 AEST 2013
I don't know about strncpy but strcmp appears (not under that name but
with identical functionality) in speak.c from 1973ish...
On 1/22/2013 11:03 PM, Nevin Liber wrote:
> On another list I am on, a discussion about the history and purpose of
> strncpy has arisen. The only reference I have found to it is
> <http://lwn.net/Articles/507432/>:
>
> The original reason for strncpy() was when directory names were
> limited to 14 chars. The other two bytes contained the inode number.
> For that particular case, strncpy() worked quite well.
> Is that really the reason it came into being?
>
> Just a bit curious,
> --
> Nevin ":-)" Liber <mailto:nevin at eviloverlord.com
> <mailto:nevin at eviloverlord.com>> (847) 691-1404
>
>
> _______________________________________________
> TUHS mailing list
> TUHS at minnie.tuhs.org
> https://minnie.tuhs.org/mailman/listinfo/tuhs
--
Jonathan Gevaryahu AKA Lord Nightmare
jgevaryahu at gmail.com
jgevaryahu at hotmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20130123/a87489b2/attachment.html>
More information about the TUHS
mailing list