Strncpy() is spec'ed to completely null pad the buffer if given a shorter string, and not to append any nulls if given a same size or larger string. Michael Meissner Data General Corporation ...(decvax!ittvax, allegra)!datagen!mrm