Files
csi_hal/include/common/ipc_fd_transfer.h
2022-09-13 10:34:38 +08:00

20 lines
510 B
C

/*
* Copyright (C) 2021 Alibaba Group Holding Limited
* Author: LuChongzhi <chongzhi.lcz@alibaba-inc.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#include <sys/wait.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/un.h>
union {
struct cmsghdr cm; // control msg
char ctl[CMSG_SPACE(sizeof(int))]; // the pointer of char
} ctl_un;