From: Rainer Weikusat Newsgroups: comp.os.linux.development.system Subject: Re: Coreutils C question Date: Tue, 20 Mar 2012 02:04:48 +0000 Lines: 24 Message-ID: <87zkbcrprz.fsf@sapphire.mobileactivedefense.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: individual.net TFhgX2uZXscEPa7Fav6Zkg4TDi2uMQa/PTL1y0Ahq0ioLHkSo= Cancel-Lock: sha1:JoReeNMwwKQ4uvg38CmB1hbf+P0= sha1:7O+fvfWk1A24tqb+R6BUBmoQWPU= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) Path: csiph.com!usenet.pasdenom.info!news.chainon-marquant.org!feed.ac-versailles.fr!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Xref: csiph.com comp.os.linux.development.system:408 "Benjamin S." writes: > initialize_main (&argc, &argv); > > The definition seems to be: > > > /* Redirection and wildcarding when done by the utility itself. > Generally a noop, but used in particular for native VMS. */ > #ifndef initialize_main > # define initialize_main(ac, av) > #endif [...] > I really don't understand what it's doing. My current understanding is > that it's doing nothing. Any help? Well, it is doing nothing. The comment seems to suggest that it was supposed to interpret a command-line passed as literal string to the program in order to set up UNIX(*)-style file descriptor redirection and expand filename wildcards in the way a UNIX(*) shell would usually do.