1
0
Fork 0
mirror of https://github.com/tailix/libkernaux.git synced 2024-10-30 11:54:01 -04:00
libkernaux/tests/multiboot2_info_print2.c

24 lines
438 B
C

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <kernaux/multiboot2.h>
#include <assert.h>
#include <stdio.h>
#include "multiboot2_info_example2.h"
int main()
{
assert(KernAux_Multiboot2_Info_is_valid(
&multiboot2_info_example2.multiboot2_info
));
KernAux_Multiboot2_Info_print(
&multiboot2_info_example2.multiboot2_info,
(void (*)(const char *format, ...))printf
);
return 0;
}