[omniORB] argv processing

Duncan Grisby dgrisby@uk.research.att.com
Tue, 30 Jan 2001 16:48:15 +0000


On Monday 29 January, Michael Keay wrote:

> Can someone explain why argv processing for -ORB parameters when calling
> ORB_init starts at argv[1] when there seems no reason for it to start at
> argv[0]?

argv[0] is traditionally the name of the program, so omniORB ignores
it. There's no particular reason why it couldn't look at argv[0] too,
but it isn't really a problem to put a dummy name in there if you are
creating your own argv list.

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --