> while(*p && isspace(*p)) { BTW, you can lose the *p is isspace returns zero for isspace('\0') :) Possibly non portable though. -- Vincent Penquerc'h -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.linux.org.au/pipermail/linuxcprogramming/attachments/20030509/46f8c257/attachment.htm