Re: file open function



On 04/25/08 13:00, Aaron Gray wrote:
"Douglas O'Neal" <oneal@xxxxxxxxxxxx> wrote in message news:fut2im$c5u$1@xxxxxxxxxxxxxxxxxxxxxxx
On 04/25/08 12:50, Aaron Gray wrote:
Hoping not to appear dumb, but is the file open() function (not fopen) supported on Linux/GNU and if so which header supports it ?

On MS its in io.h

Many thanks in advance,

Aaron
man 2 open

Why the 2 ?

Thanks,

Aaron

It informs man to look in section 2 of the man pages, e.g, system calls.
Otherwise you might get the man page for perl open, tcl open, etc.

man man for more info.
man -k open is also useful.
.