Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ucbvax!TYCHO.ARPA!hsw From: hsw@TYCHO.ARPA (Howard Weiss) Newsgroups: comp.os.vms Subject: C on VMS Message-ID: <8801250154.AA29108@ucbvax.Berkeley.EDU> Date: 22 Jan 88 21:02:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 22 I am a UNIX C programmer and have just recently been playing around with a VMS system and a C Compiler running on it. Unfortunately, I don't have any documentation of the VMS C compiler and I'm having trouble doing something that seems quite natural to do - command line argument processing. I am able to compile and link programs so that I have a resulting file (foo.exe) which I can then run using the VMS 'run' command (r foo). The problem I have it how do I pass arguments into the program (i.e., UNIX-style, foo -w). If I give any args on the VMS 'run' command line, the system complains about too many parameters. In addition, touching argv in the C program either gives bogus information or causes the program to bomb. Anyone have any good info for me - any and all would be appreciated. Please respond directly to me - I am not a regular reader of the mailing list. Thanks, Howard Weiss -------