|
|
1.1 ! root 1: /* $Header: getarg.h,v 1.1 85/03/14 15:32:56 nicklin Exp $ */ ! 2: ! 3: /* ! 4: * Get command line argument ! 5: * ! 6: * Author: Peter J. Nicklin ! 7: */ ! 8: ! 9: /* ! 10: * Argument syntax: `-xargument' or `-x argument' ! 11: */ ! 12: #define GETARG(p) ((p[1] != '\0') ? ++p : (--argc, *++argv)) ! 13: ! 14: /* ! 15: * Argument syntax: `-xargument' ! 16: * ! 17: * #define GETARG(p) (++p) ! 18: */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.