- Examples&Exercises:
- Complete the following codes, then compile and run the code.
- Analyze the code and output.
- Complete the main function for the usage of getopt_long function.
http://siber.cankaya.edu.tr/SystemsProgramming/cfiles/getopt_long.cgetopt_long.c
- Execute the following code to see your environment variables, by using the ENVIRON variable. Study the outcome.
http://siber.cankaya.edu.tr/SystemsProgramming/cfiles/print_env.cprint_env.c
- Write a main function to use the functions that make use of mkstemp.
http://siber.cankaya.edu.tr/SystemsProgramming/cfiles/temp_file.ctemp_file.c
- Write a main function to get benefit of the functions for releasing the taken resources in the manner of coding defensively.
http://siber.cankaya.edu.tr/SystemsProgramming/cfiles/readfile.creadfile.c
- Create and use static and shared libraries by using the following files. Analyze the differences.
http://siber.cankaya.edu.tr/SystemsProgramming/cfiles/test.ctest.c
http://siber.cankaya.edu.tr/SystemsProgramming/cfiles/app.capp.c
cem ozdogan
2006-03-05