1
0
Fork 0
mirror of https://github.com/tailix/libkernaux.git synced 2024-11-13 11:04:27 -05:00
libkernaux/tests/multiboot2_print1.c

20 lines
386 B
C

#include <kernaux/multiboot2.h>
#include <assert.h>
#include <stdio.h>
#include "multiboot2_example1.h"
int main()
{
assert(KernAux_Multiboot2_is_valid(
(struct KernAux_Multiboot2*)multiboot2_example1
));
KernAux_Multiboot2_print(
(struct KernAux_Multiboot2*)multiboot2_example1,
(void (*)(const char *format, ...))printf
);
return 0;
}