Linux and System Programming Tentti 18.4.2005
-
Explain briefly the following terms and concepts:
a) /proc file system
b) unnamed and named pipes
c) g++
d) jiffies
d) inode
f) POSIX thread
- Discuss in detail the tasks to be completed when creating a new Linux kernel
module device driver and taking it into use. What needs to be done, how is the
code organized, what is different in comparison to user space programming,
how is the driver used by programs?
- Discuss in detail the System V IPC facilities. What are they, what can they
be used for, how are they used? (NOTE: sample code is NOT required.)
- a) What is the following code for (i.e.) what is it supposed to do, and how)?
Specifically, explain the purpose oof code segments [1] and [2].
b) What is wrong with the code (in addition to missing #include statements)?
What corrections are needed?