aboutsummaryrefslogtreecommitdiffstats
path: root/append.c
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2012-02-19 23:17:53 +0000
committerJonathan McCrohan <jmccrohan@gmail.com>2012-02-19 23:17:53 +0000
commit33f058f0e67357543c0b1619f4f45779d054a6bf (patch)
treeeebb2cf2edeeb1ed314967c923021804c7f4d3b0 /append.c
parent61f929e6b38829afcdc8577be74594ca73a91bde (diff)
downloadverteco-33f058f0e67357543c0b1619f4f45779d054a6bf.tar.gz
Remove debug/testing files.
Diffstat (limited to 'append.c')
-rw-r--r--append.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/append.c b/append.c
deleted file mode 100644
index 0b2bbbb..0000000
--- a/append.c
+++ /dev/null
@@ -1,20 +0,0 @@
-#include <stdio.h>
-#include <unistd.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
-#include <time.h>
-
-int main(int argc, char *argv[]) {
-
- time_t t = time(NULL);
- struct tm tm = *localtime(&t);
- FILE *fp;
- fp=fopen("append.txt", "a+");
-
- fprintf(fp,"%d-%d-%d %d:%d:%d\n", tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, tm.tm_hour, tm.tm_min, tm.tm_sec);
- fprintf(fp,"%d\n", ((int) t)/60*60);
- fclose(fp);
-
- return 0;
-}