12 lines
271 B
C
12 lines
271 B
C
#include <stdio.h>
|
|
#include "outlib.h"
|
|
|
|
void output(char *str) {
|
|
printf("%d: %s\012", Count++, str);
|
|
}
|
|
|
|
void usage(char *prog) {
|
|
fprintf(stderr, "%s v%.2f: Print all arguments\012\t"\
|
|
"Usage: %s arg1 [arg2 […]]\012", prog, VERSION, prog);
|
|
}
|