clearified comment for function
This commit is contained in:
parent
ac270de18d
commit
2264fc06ef
@ -4,8 +4,8 @@
|
|||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
// buffer needs to contain this string: "xxxxxxxxTxxxxxx"
|
// buffer needs to contain a string with a strlen of 15 (format: "xxxxxxxxTxxxxxx")
|
||||||
// or "YYYYmmddTHHMMSSZ"
|
// or a strlen of 16 (format: "YYYYmmddTHHMMSSZ")
|
||||||
void get_date(char buffer[]) {
|
void get_date(char buffer[]) {
|
||||||
// add 1 because strlen does not include the null character
|
// add 1 because strlen does not include the null character
|
||||||
size_t buffer_size = strlen(buffer) + 1;
|
size_t buffer_size = strlen(buffer) + 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user