Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site whuxlb.UUCP Path: utzoo!linus!decvax!harpo!gummo!whuxlb!mash From: mash@whuxlb.UUCP (John Mashey) Newsgroups: net.lang.c Subject: Re: strncpy() Message-ID: <1283@whuxlb.UUCP> Date: Sat, 20-Aug-83 08:05:17 EDT Article-I.D.: whuxlb.1283 Posted: Sat Aug 20 08:05:17 1983 Date-Received: Sat, 20-Aug-83 10:20:06 EDT Organization: Bell Labs, Whippany Lines: 7 strcpyn() (before it was renamed strncpy(), was originally written specifically t odeal with directories, accouting records, and various other places in UNIX that expect fixed-length fields containing varaible length strings padded with nulls. There used to be numerous instances of slightly different code to do the strncpy/strncmp functions in-line. -mashey