Re: function "open"
Hi BB,
The function open() is a operating system call. You can learn more about it by looking at the manual page:
man 2 open
Note it's in section "2" (which contains all the system calls). Your compiler is telling you that the code is trying to pass two arguments when in fact the call takes three. This is a historical problem, open() used to take only 2. Most system's are set up to allow either, yours is set to be strict. There's probably a define or a switch to gcc that will relax the requirement.
- James