Just some usefull c utils