Skip to content

argv

Pointer to the array of command-line arguments.

Declaration

Source position: sysunixh.inc line 66

var
  argv: PPAnsiChar = ^PAnsiChar; external name 'operatingsystem_parameter_argv';

Description

argv contains a pointer to a nil-terminated array of null-terminated strings, containing the command-line arguments passed to the program by the OS. It is not available on all systems.

See also

Name Description
argc Number of command-line arguments.
envp Pointer to the array of environment variables.