summaryrefslogtreecommitdiffstats
path: root/prog/6/functions.c
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2023-08-07 23:15:32 +0200
committerAnton Luka Šijanec <anton@sijanec.eu>2023-08-07 23:15:32 +0200
commit2cdcc79e69aa5f1ed255f3894ab7e061b0761d40 (patch)
tree51bde8d9b51828aff7374f143c56171d8625b9c5 /prog/6/functions.c
parent6 garbage (diff)
downloadr-2cdcc79e69aa5f1ed255f3894ab7e061b0761d40.tar
r-2cdcc79e69aa5f1ed255f3894ab7e061b0761d40.tar.gz
r-2cdcc79e69aa5f1ed255f3894ab7e061b0761d40.tar.bz2
r-2cdcc79e69aa5f1ed255f3894ab7e061b0761d40.tar.lz
r-2cdcc79e69aa5f1ed255f3894ab7e061b0761d40.tar.xz
r-2cdcc79e69aa5f1ed255f3894ab7e061b0761d40.tar.zst
r-2cdcc79e69aa5f1ed255f3894ab7e061b0761d40.zip
Diffstat (limited to 'prog/6/functions.c')
-rw-r--r--prog/6/functions.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/prog/6/functions.c b/prog/6/functions.c
new file mode 100644
index 0000000..48c0b58
--- /dev/null
+++ b/prog/6/functions.c
@@ -0,0 +1,4 @@
+#include <time.h>
+int timestamp () {
+ return (time(NULL)-1691452800)/60;
+}