Hi Jean-Philippe, On Wed, Apr 30, 2014 at 11:20 PM, Jean-Philippe Gagné Guay <jeanphilippe...@gmail.com> wrote: > ii could be called without any argument, using the defaults described in the > manpage. > > - if (argc <= 1 || (argc == 2 && argv[1][0] == '-' && argv[1][1] == > 'h')) usage(); > + if (argc < 1 || (argc == 2 && argv[1][0] == '-' && argv[1][1] == > 'h')) usage();
When called with no arguments argc would be 1. By convention this initial argument is the name of the file that was executed but can be anything, read exec(3,3p) for more information. -emg