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