Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.development.system > #408

Re: Coreutils C question

From Rainer Weikusat <rweikusat@mssgmbh.com>
Newsgroups comp.os.linux.development.system
Subject Re: Coreutils C question
Date 2012-03-20 02:04 +0000
Message-ID <87zkbcrprz.fsf@sapphire.mobileactivedefense.com> (permalink)
References <jk8gcr$ddq$1@dont-email.me>

Show all headers | View raw


"Benjamin S." <niacin89@yahoo.com> 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.

Back to comp.os.linux.development.system | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Coreutils C question "Benjamin S." <niacin89@yahoo.com> - 2012-03-19 23:44 +0000
  Re: Coreutils C question Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-03-20 00:19 +0000
  Re: Coreutils C question Rainer Weikusat <rweikusat@mssgmbh.com> - 2012-03-20 02:04 +0000
    Re: Coreutils C question "Benjamin S." <niacin89@yahoo.com> - 2012-03-20 16:43 +0000
      Re: Coreutils C question Nix <nix-razor-pit@esperi.org.uk> - 2012-03-21 11:30 +0000
  Re: Coreutils C question indrajith.k@gmail.com - 2014-09-23 06:46 -0700

csiph-web