bsd man page for getarg

Query: getarg

OS: bsd

Section: 3f

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

GETARG(3F)																GETARG(3F)

NAME
getarg, iargc - return command line arguments
SYNOPSIS
subroutine getarg (k, arg) character*(*) arg function iargc ()
DESCRIPTION
A call to getarg will return the kth command line argument in character string arg. The 0th argument is the command name. Iargc returns the index of the last command line argument.
FILES
/usr/lib/libU77.a
SEE ALSO
getenv(3F), execve(2) 4th Berkeley Distribution May 15, 1985 GETARG(3F)
Related Man Pages
apply(1) - bsd
ns_getsockaddr(3aolserv) - debian
ns_sockasyncconnect2(3aolserv) - debian
ns_sockpipe(3aolserv) - debian
getarg(3) - debian
Similar Topics in the Unix Linux Community
keep track of the last 10 commands the user typed
AIX equivalent to /proc/self/cmdline to get process name from C++ program
Simple HTTP server in GAWK
Compilation problem with gfortran
Using Shell Script To Loop Program Through Multiple Text Files