From mboxrd@z Thu Jan 1 00:00:00 1970 From: mah@mhorton.net (Mary Ann Horton) Date: Wed, 23 Jan 2013 14:43:10 -0800 Subject: [TUHS] History of strncpy In-Reply-To: <5CE5BCC9-06CF-423D-AEBA-636952773EDA@ronnatalie.com> References: <5CE5BCC9-06CF-423D-AEBA-636952773EDA@ronnatalie.com> Message-ID: <5100677E.3060902@mhorton.net> While I agree with the other excellent comments in this thread (I just dig out my document for the original "Portable C Library (on UNIX)", complete with functions beginning with "C"), I have one small correction. Variable length file names in directories actually didn't come out until the Berkeley Fast Filesystem in 4BSD. They were not in V7 or even 3BSD. > By the time Version 7 rolled around, the variable length directories had also appeared in the filesystem. I suspect strcpy arrived with the "portable I/O library", an abomination that eventually evolved into the stdio library and to this day is still stinking up the standard C language. > >