|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 378 (0x17a)
Types: TextFile
Names: »poparg.c«
└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
└─⟦this⟧ »EUUGD11/euug-87hel/sec8/cfs/poparg.c«
/*
* poparg - pop next argument off argv list
* returns pointer to arg; else NULL when no more
*
* Rex Sanders, USGS Pacific Marine Geology, 2/87
*/
#include <stdio.h>
char *
poparg (argc, argv)
int *argc;
char ***argv;
{
char *newarg;
if (*argc > 0) {
newarg = **argv;
(*argc)--;
(*argv)++;
}
else
newarg = NULL;
return (newarg);
}