summaryrefslogtreecommitdiff
path: root/other/burneye2/tmp/switchtab/switch.c
diff options
context:
space:
mode:
authorRoot THC2026-02-24 12:42:47 +0000
committerRoot THC2026-02-24 12:42:47 +0000
commitc9cbeced5b3f2bdd7407e29c0811e65954132540 (patch)
treeaefc355416b561111819de159ccbd86c3004cf88 /other/burneye2/tmp/switchtab/switch.c
parent073fe4bf9fca6bf40cef2886d75df832ef4b6fca (diff)
initial
Diffstat (limited to 'other/burneye2/tmp/switchtab/switch.c')
-rw-r--r--other/burneye2/tmp/switchtab/switch.c39
1 files changed, 39 insertions, 0 deletions
diff --git a/other/burneye2/tmp/switchtab/switch.c b/other/burneye2/tmp/switchtab/switch.c
new file mode 100644
index 0000000..c6b12f8
--- /dev/null
+++ b/other/burneye2/tmp/switchtab/switch.c
@@ -0,0 +1,39 @@
1
2#include <unistd.h>
3
4int
5main (int argc, char *argv[])
6{
7 int change;
8
9 switch (argc) {
10 case (0):
11 change = 0;
12 break;
13 case (1):
14 change = 7;
15 break;
16 case (3):
17 change = 12;
18 break;
19 case (4):
20 change = 49;
21 break;
22 case (5):
23 change = 18;
24 break;
25 case (6):
26 change = 4;
27 break;
28 case (7):
29 change = 13;
30 break;
31 default:
32 change = 0;
33 break;
34 }
35
36 return (change);
37}
38
39