about file stat

about file stat

Post by CGI¤§ » Sat, 06 Sep 1997 04:00:00



 How can I get file stat ??

 I use function stat to get my mode 777 file (a+wrx)
 but it returns 33279 ....  , not the value I expected.

 How can I get it ??

 
 
 

about file stat

Post by Kurt J. Lanz » Sat, 06 Sep 1997 04:00:00



> =
>  How can I get file stat ??
> =
>  I use function stat to get my mode 777 file (a+wrx)
>  but it returns 33279 ....  , not the value I expected.
> =
>  How can I get it ??

33279 decimal is equivalent to 100777 octal. That's what I call a
clue. Hope this helps.
-- =

Kurt J. Lanza