Hi, I just started with serial programming and I am following a tutorial.
Where can I find a list of each (gcc) header file with its functions, stuctures and explanation of each function and use of the structures. This is because there is a lot of new *nix specific header file like termios.h etc that is not there in standard C which I have learned.
The tutorial lists all the funtions and constants it uses but I want something like a reference; but not like man pages where I have to know the name of the function/command in the first place, to get its usage.

Also my /dev/ directory lists a very large number of serial device file; not just ttyS0,1,2,3,4 but up to9 and even new ones like ttya1 etc. What does that indicate? I seem to have only a single 9pin connector at the back of the CPU.I am using Ubuntu 8.04.