I have a problem with writing a system call in linux.I need to create a structure with the various fields of the structure having values stored in different files.I need to get the values from these files which have differnt paths.Please suggest a neat way of doing this if possible with an example.