There are 0-255 file descriptrs available out of which 1st 3 are held by std i/o,err.Theoriticaly you can have 256 files to be opened by the same process but there may be limit on it which can be checked by the ulimit command(for the exact options kindly refer to the man page of ulimit). To view how many files are opened by a process use *lsof* -p PID. I am not sure about the second question but i feel that number will be limited by the size of the buffer.....
-- Saurabh Singh B.Tech (Computer Science) MNNIT ALLAHABAD -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
