1
0
Fork 0
mirror of https://github.com/tailix/kernel.git synced 2024-12-11 11:35:39 -05:00
kernel/arch/info.c

14 lines
235 B
C

#include <kernelmq/info.h>
unsigned char kernelmq_info_validate_and_copy(
struct KernelMQ_Info *const dest,
const struct KernelMQ_Info *const src
) {
if (!src) {
return 0;
}
*dest = *src;
return 1;
}