mirror of
https://github.com/tailix/kernel.git
synced 2025-04-21 17:42:20 -04:00
14 lines
235 B
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;
|
|
}
|