Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ nargs(III) — UNIX 6th Edition

Media Vault

Software Library

Restoration Projects

Artifacts Sought

NARGS(III)  −  PWB/UNIX 5/10/73

NAME

nargs − argument count

SYNOPSIS

"nargs( )"

DESCRIPTION

Nargs returns the number of actual parameters supplied by the caller of the routine which calls nargs.  The argument count is accurate only when none of the actual parameters is float or double.  Such parameters count as four arguments instead of one. 

BUGS

As indicated.  Also, this routine does not work (and cannot be made to work) in programs with separated I and D space.  Altogether it is best to avoid using this routine and depend, for example, on passing an explicit argument count. 

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