Print "OK!" in example for <kernaux/printf.h>

This commit is contained in:
Alex Kotov 2020-12-07 03:32:49 +05:00
parent a1b373e49a
commit a314bf825d
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
1 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,7 @@
#include <kernaux/printf.h>
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@ -22,5 +23,7 @@ int main()
kernaux_printf(my_putchar, "Hello, %s!", "Alex");
assert(strcmp(buffer, "Hello, Alex!") == 0);
printf("OK!\n");
return 0;
}