On 2009-03-11, cg <[email protected]> wrote:
> any information about this struct ?

I think most of it is self-explanatory.

> for example, the flag, what does the bits mean ? how to know what
> the flag means?

"flags" shows how the file was opened (or will be opened):
  0 = read only
  1 = write only
  2 = read/write

"mode" should be the same value that is in stat.st_mode if you stat(2)
the file being accessed. However, I have never verified this.

> any macro to do "&" with it ?

No.

Note that the values are only valid if set_flags and set_mode are
non-zero.

John Ogness

-- 
Dazuko Maintainer


_______________________________________________
Dazuko-help mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/dazuko-help

Reply via email to