Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getarg(3F) — UNIX 2.9BSD

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

execve(2)

getenv(3F)

GETARG(3F)  —  Unix Programmer’s Manual

NAME

getarg − return a command line argument
iargc − return the number of 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

execve(2), getenv(3F)

7th Edition

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026