diff options
author | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-04-25 12:52:55 +0330 |
---|---|---|
committer | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-04-25 12:52:55 +0330 |
commit | 833fbb09640e46f7e8968a1a724baf25f2a219fc (patch) | |
tree | dc2b3677cad411b11f8bdf1dfcd50e167cc28396 /src/utils/time.h | |
parent | 0f50a82f0694bcf2902a772de63cc2b9a007c2f7 (diff) |
move time to utils
Diffstat (limited to 'src/utils/time.h')
-rw-r--r-- | src/utils/time.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/utils/time.h b/src/utils/time.h new file mode 100644 index 0000000..6d5f2f6 --- /dev/null +++ b/src/utils/time.h @@ -0,0 +1,7 @@ +#pragma once + +#include <time.h> + +struct timespec time_diff(struct timespec end, struct timespec start); +struct timespec time_add(struct timespec left, struct timespec right); +void time_print(struct timespec time); |