Hi mates!)
If somebody can - please explain me - what does mean "the lowest" in this context -
The open() function shall return a file descriptor for the named file that is the lowest file descriptor not currently open for that process.
the QUOTE is from here - http://pubs.opengroup.org/onlinepubs/
and one more question - what is the third parameter of open() function - for which it is used for example here -
int fd = open(filename, O_CREAT | O_TRUNC | O_RDWR, [B][U]0666[/U][/B]];
Big thanks in advance!)