Dolda2000 GitWeb
/
mctap.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Initial adjustments.
[mctap.git]
/
src
/
mctap.c
1
#include <stdlib.h>
2
#include <stdio.h>
3
#include <string.h>
4
#include <unistd.h>
5
#include <sys/socket.h>
6
#include <netinet/in.h>
7
8
static void usage(FILE *out)
9
{
10
fprintf(out, "usage: mctap [-h]\n");
11
}
12
13
int main(int argc, char **argv)
14
{
15
int c;
16
17
while((c = getopt(argc, argv, "-h")) >= 0) {
18
switch(c) {
19
case 'h':
20
usage(stdout);
21
return(0);
22
default:
23
usage(stderr);
24
exit(1);
25
}
26
}
27
28
return(0);
29
}