[ ... stuff about dereferencing the NULL pointer deleted ...] This discussion belongs in comp.lang.c, methinks. Rich -- Rich Miani ram at lcuxlm.att.com Other Paths: ram%lcuxlm at research.att.com ...arpa!lcuxlm!ram