Path: utzoo!attcan!uunet!ncrlnk!ncrcae!ece-csc!mcnc!xanth!nic.MR.NET!tank!uxc!uxc.cso.uiuc.edu!uxg.cso.uiuc.edu!uxe.cso.uiuc.edu!mcdonald From: mcdonald@uxe.cso.uiuc.edu Newsgroups: comp.lang.c Subject: Re: variable number of strings passed t Message-ID: <225800083@uxe.cso.uiuc.edu> Date: 26 Oct 88 14:49:00 GMT References: <434@tutor.UUCP> Lines: 7 Nf-ID: #R:tutor.UUCP:434:uxe.cso.uiuc.edu:225800083:000:340 Nf-From: uxe.cso.uiuc.edu!mcdonald Oct 26 09:49:00 1988 >And so on. Use or >(current practice and ANSI-C-draft practise respectively); they are the >*only* portable way to do this. Oh come on now. How about mallocing up enough space to put an array of pointers to the strings in memory and passing a pointer to that array? That is portable and avoids varargs or stdarg.