mirror of
https://github.com/tailix/kernel.git
synced 2024-12-11 11:35:39 -05: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;
|
|
}
|