web basic library write in c