mirror of
https://github.com/tailix/libkernaux.git
synced 2025-07-07 18:51:58 -04:00
Improve example
This commit is contained in:
parent
66d00d5778
commit
a5654e98cb
1 changed files with 2 additions and 2 deletions
|
@ -20,8 +20,8 @@ int main()
|
|||
{
|
||||
memset(buffer, '\0', sizeof(buffer));
|
||||
buffer_index = 0;
|
||||
kernaux_printf(my_putchar, "Hello, %s! Session id: %u.", "Alex", 123);
|
||||
assert(strcmp(buffer, "Hello, Alex! Session id: 123.") == 0);
|
||||
kernaux_printf(my_putchar, "Hello, %s! Session ID: %u.", "Alex", 123);
|
||||
assert(strcmp(buffer, "Hello, Alex! Session ID: 123.") == 0);
|
||||
|
||||
printf("OK!\n");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue