summaryrefslogtreecommitdiffhomepage
path: root/docs/cspan_api.md
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-06-07 21:10:32 +0200
committerTyge Løvset <[email protected]>2023-06-07 21:10:32 +0200
commitd6ddb811365d5dd2cbc9c485f43ed4215d8e0148 (patch)
treecadbdfbc42ced96914c74c663c9cbdec097f5031 /docs/cspan_api.md
parent56469c2738effe6d44a3a0c44e821c0ff18ce28e (diff)
downloadSTC-modified-d6ddb811365d5dd2cbc9c485f43ed4215d8e0148.tar.gz
STC-modified-d6ddb811365d5dd2cbc9c485f43ed4215d8e0148.zip
Updated and renamed c11/print.h to c11/fmt.h. Added fmt_tm() to print time/date from a struct tm.
Diffstat (limited to 'docs/cspan_api.md')
-rw-r--r--docs/cspan_api.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/cspan_api.md b/docs/cspan_api.md
index f0c6babd..3a811ebf 100644
--- a/docs/cspan_api.md
+++ b/docs/cspan_api.md
@@ -137,7 +137,7 @@ int main() {
Slicing cspan without and with reducing the rank:
```c
#define i_implement
-#include <c11/print.h>
+#include <c11/fmt.h>
#include <stc/cspan.h>
using_cspan3(Span, int); // Shorthand to define Span, Span2, and Span3