We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
time
1 parent 2d5c329 commit f325c05Copy full SHA for f325c05
libs/time/main.h
@@ -1,6 +1,18 @@
1
#ifndef LIBS__TIME_H_INCLUDED
2
#define LIBS__TIME_H_INCLUDED
3
4
+/**
5
+ * @brief Concatenates the current time to the given string.
6
+ *
7
+ * This function retrieves the current system time and appends it to the provided string.
8
+ * The concatenated time format is YYYY-MM-DD-HH-mm.
9
10
+ * @param string String on which the current time will be concatenated.
11
12
+ * @return 0 if the operation is successful, 1 otherwise.
13
14
+ * @warning Ensure that the provided string has sufficient space to hold the concatenated time.
15
+ */
16
unsigned char concatCurrentTime(char* string);
17
18
#endif // LIBS__TIME_H_INCLUDED
0 commit comments