[BACK]Return to unix_command_line.ads CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / PHC / Ada / System

File: [local] / OpenXM_contrib / PHC / Ada / System / unix_command_line.ads (download)

Revision 1.1, Sun Oct 29 17:45:34 2000 UTC (23 years, 8 months ago) by maekawa
Branch point for: MAIN

Initial revision

package Unix_Command_Line is

-- DESCRIPTION :
--   This package allows to access the arguments from the command line.

  function Number_of_Arguments return natural;

  -- DESCRIPTION :
  --   Returns the number of arguments of the command that started
  --   the current process.
  --   So, if the command has no arguments, then zero is returned.

  function Argument ( i : natural ) return string;

  -- DESCRIPTION :
  --   Returns the ith argument of the command line.

end Unix_Command_Line;