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

Annotation of OpenXM_contrib/PHC/Ada/System/unix_command_line.ads, Revision 1.1.1.1

1.1       maekawa     1: package Unix_Command_Line is
                      2:
                      3: -- DESCRIPTION :
                      4: --   This package allows to access the arguments from the command line.
                      5:
                      6:   function Number_of_Arguments return natural;
                      7:
                      8:   -- DESCRIPTION :
                      9:   --   Returns the number of arguments of the command that started
                     10:   --   the current process.
                     11:   --   So, if the command has no arguments, then zero is returned.
                     12:
                     13:   function Argument ( i : natural ) return string;
                     14:
                     15:   -- DESCRIPTION :
                     16:   --   Returns the ith argument of the command line.
                     17:
                     18: end Unix_Command_Line;

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>