04e454d3c6
Adapted to use the NOFLOAT cpp flag.
18 lines
334 B
C
18 lines
334 B
C
char rcs_id[] = "$Header$" ;
|
|
|
|
main(argc,argv,envp) char **argv,**envp ; {
|
|
register int rargc ;
|
|
|
|
rargc=argc ;
|
|
printf("main called with argc = %d\n",argc) ;
|
|
printf("Arguments:\n") ;
|
|
while ( rargc-- ) {
|
|
printf(" %s\n",*argv++) ;
|
|
}
|
|
printf("Environment:\n") ;
|
|
while ( *envp ) {
|
|
printf(" %s\n",*envp++) ;
|
|
}
|
|
return(argc-1) ;
|
|
}
|