joshua@athertn.Atherton.COM (Flame Bait) (06/29/90)
I'm looking for an XDR routine which will handle a null terminated array of strings. This is argv's and envp's type on modern UNIX systems. An example is char *envp[] = { "first", "second", NULL } ; I suspect that the answer is a combination of xdr_array, xdr_pointer, and xdr_wrapstring, but I can't quite get them together correctly. Obviously, this problem can be worked around using a count (this is an example in the XDR documentation), but the program I have now uses a null terminated array, and it would be nice not to change it. Thanks for any help. I'll sumarize to the group if I get good answers. Joshua Levy (joshua@atherton.com) (408) 734-9822