add c file

Signed-off-by: Lynn <sotii@163.com>