DEC's VAX C compiler (for VMS) crashes if you pass it a NULL for a string: printf("%s\n",NULL); Alas, it also crashes on this: printf("%.*s\n",0,NULL); Caveat emptor. <_Jym_>