Hi Danny, >Thanks for the stat function. U referred to section 1 & 2. What book is >this? It's not a book, it's the man(ual) pages you get on most Unix system. To get the documentation for a program or library function, if the people who provided those also provided the man pages, you can usually simply type from the prompt man name_of_the_function The man pages are divided in sections, one for user programs, one for system programs, one for C library routines, one for games, etc... If a keyword is used in more than one section, you can chose which section to search specifying te number on the command line, like man 2 name_of_the_function Hope this helps, fwyzard