[cs631apue] Archive state?
yluo4
yluo4 at stevens.edu
Mon Oct 7 14:42:41 EDT 2013
I think you use strmode() can figure it out. For example,
strmode(st_mode, str_mode), then str_mode[0] can tell you what type it
is.
On 10/07/2013 2:35 PM, Tejas Nadkarni wrote:
> What are you using to detect these file types? I don't believe there
> are any macros with stat to do this and eve the ls implementation on
> Ubuntu doesn't seem to treat archives differently from what I can
> tell.
>
> a Archive state 1.
> A Archive state 2.
>
> Any hints on where to look into this further?
>
> Thanks,
> Tejas
>
>
> _______________________________________________
> cs631apue mailing list
> cs631apue at lists.stevens.edu
> https://lists.stevens.edu/mailman/listinfo/cs631apue
More information about the cs631apue
mailing list