2 int printk(char *fmt, ...);
6 C.printk("This is printed out by ffi\n")
7 C.printk("Show me the %s\n", "code")
8 C.printk("%s should be at %02d/%02d %02d:%02d:%02d\n", "New Year", 1, 1, 0, 0, 0)
9 C.printk("\'a\' + 5 = \'%c\'\n", 95 + 5)
10 C.printk("The string is located at 0x%p\n", "str")