aboutsummaryrefslogtreecommitdiff
path: root/C.wiki
blob: 3b1a592801d42666fec59168e0b8bc921ec0161a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{{{c
#include <inttypes.h>
}}}

innehåller printf-strängar för `<stdint.h>`.

- [[C/Named Arguments]]

== Universal character specifier ==
TODO dubbelkolla namnet

{{{c
void o\u00f6o () {
	printf("o with two dots\n");
}

int main () {
	oöo();
}
}}}

== Function name ==

Each function _fname_ behaves as if the first line of its body
wasbehaves as if the first line of its body was

{{{c
static const char __func__[] = "fname";
}}}


== Printing size_t ==

Printf-formatters

`%zu` :: `size_t`
`%zi` :: `ssize_t`