linux c sample add