<div dir="ltr"><div class="gmail_extra">It's weird in the even on the manpage for strmode it doesn't reference A or a being returned for filetype.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Also I don't appear to have the bsd/string.h on my system so will need to fix that. That's why since I already have a function written to parse st_mode I was hoping there was a value I could check for A or a.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 7, 2013 at 3:46 PM, Tejas @ Stevens <span dir="ltr"><<a href="mailto:tnadkarn@stevens.edu" target="_blank">tnadkarn@stevens.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ok so for the archive state I have to use strmode() at this point?<br>
<div class="HOEnZb"><div class="h5"><br>
On Oct 7, 2013, at 3:37 PM, Jan Schaumann <<a href="mailto:jschauma@stevens.edu">jschauma@stevens.edu</a>> wrote:<br>
<br>
> Tejas Nadkarni <<a href="mailto:tnadkarn@stevens.edu">tnadkarn@stevens.edu</a>> wrote:<br>
>> Correct but I can't find what macro or to check for with st_mode to see if<br>
>> it's an archive. I'm not using strmode, I'm using macros to check the value<br>
>> of st_mode and nothing exists from what I can tell in man pages or on<br>
>> internet to determine if something is an archive let alone state1 or state2.<br>
><br>
> <a href="https://lists.stevens.edu/pipermail/cs631apue/2012-October/000179.html" target="_blank">https://lists.stevens.edu/pipermail/cs631apue/2012-October/000179.html</a><br>
><br>
> -Jan<br>
> _______________________________________________<br>
> cs631apue mailing list<br>
> <a href="mailto:cs631apue@lists.stevens.edu">cs631apue@lists.stevens.edu</a><br>
> <a href="https://lists.stevens.edu/mailman/listinfo/cs631apue" target="_blank">https://lists.stevens.edu/mailman/listinfo/cs631apue</a><br>
<br>
</div></div></blockquote></div><br></div></div>