|
|
1.1 ! root 1: .\" Copyright (c) 1980 Regents of the University of California. ! 2: .\" All rights reserved. The Berkeley software License Agreement ! 3: .\" specifies the terms and conditions for redistribution. ! 4: .\" ! 5: .\" @(#)getarg.3f 6.1 (Berkeley) 5/15/85 ! 6: .\" ! 7: .TH GETARG 3F "May 15, 1985" ! 8: .UC 4 ! 9: .SH NAME ! 10: getarg, iargc \- return command line arguments ! 11: .SH SYNOPSIS ! 12: .B subroutine getarg (k, arg) ! 13: .br ! 14: .B character*(*) arg ! 15: .sp 1 ! 16: .B function iargc () ! 17: .SH DESCRIPTION ! 18: A call to ! 19: .I getarg ! 20: will return the \fBk\fIth\fR command line argument in character string ! 21: .I arg. ! 22: The 0\fIth\fR argument is the command name. ! 23: .PP ! 24: .I Iargc ! 25: returns the index of the last command line argument. ! 26: .SH FILES ! 27: .ie \nM /usr/ucb/lib/libU77.a ! 28: .el /usr/lib/libU77.a ! 29: .SH "SEE ALSO" ! 30: getenv(3F), execve(2)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.