init C code
Signed-off-by: cfxccn <ccnx@qq.com>