xref: /original-bsd/share/man/man3f/getarg.3 (revision a69cfb4b)
Copyright (c) 1983, 1993
The Regents of the University of California. All rights reserved.

%sccs.include.proprietary.roff%

@(#)getarg.3 8.1 (Berkeley) 06/05/93

GETARG 3F ""
C 4
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
"SEE ALSO"
getenv(3F), execve(2)