Dear Friends,
In open system call we have three arguments.
First: file descriptor
Second: flag
Third: Mode
for example we use
open (fd, O_RDWR | O_CREAT , 0764)
Here i used 764 only but it doesn't work fine. If i use 0764 it worked fine.
I know
7 (File owner 4-Read 2-Write 1-Execute)
6 (File owner 4-Read 2-Write )
4 (File owner 4-Read 2-Write 1-Execute)
But what is that 0 before the 764 ??
Advance Thanks
Rengaraj.R
In open system call we have three arguments.
First: file descriptor
Second: flag
Third: Mode
for example we use
open (fd, O_RDWR | O_CREAT , 0764)
Here i used 764 only but it doesn't work fine. If i use 0764 it worked fine.
I know
7 (File owner 4-Read 2-Write 1-Execute)
6 (File owner 4-Read 2-Write )
4 (File owner 4-Read 2-Write 1-Execute)
But what is that 0 before the 764 ??
Advance Thanks
Rengaraj.R
Comment