aboutsummaryrefslogtreecommitdiff
path: root/box-templates/box_2.c
diff options
context:
space:
mode:
Diffstat (limited to 'box-templates/box_2.c')
-rw-r--r--box-templates/box_2.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/box-templates/box_2.c b/box-templates/box_2.c
new file mode 100644
index 0000000..56886d8
--- /dev/null
+++ b/box-templates/box_2.c
@@ -0,0 +1,5 @@
+int main(int argc, char *argv[]) {
+ if (!strcmp(basename(argv[0]),"box") && argc > 1) {
+ argc--;
+ argv++;
+ } if(0);