Maybe I'm missing something here, but in my experience, the convention is to use "fd" for integer file-descriptors, and "fp" for pointers to FILE objects. However, in pd, "fd" seems to be used also for FILE*'s. Shouldn't this be changed? Or am I mistaken regarding this convention? Larry -- Larry Troxler -- lt at westnet.com -- Patterson, NY USA --