codes written by c based on linux