<div dir="ltr"><div class="gmail_extra">It&#39;s weird in the even on the manpage for strmode it doesn&#39;t reference A or a being returned for filetype.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Also I don&#39;t appear to have the bsd/string.h on my system so will need to fix that. That&#39;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">&lt;<a href="mailto:tnadkarn@stevens.edu" target="_blank">tnadkarn@stevens.edu</a>&gt;</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 &lt;<a href="mailto:jschauma@stevens.edu">jschauma@stevens.edu</a>&gt; wrote:<br>
<br>
&gt; Tejas Nadkarni &lt;<a href="mailto:tnadkarn@stevens.edu">tnadkarn@stevens.edu</a>&gt; wrote:<br>
&gt;&gt; Correct but I can&#39;t find what macro or to check for with st_mode to see if<br>
&gt;&gt; it&#39;s an archive. I&#39;m not using strmode, I&#39;m using macros to check the value<br>
&gt;&gt; of st_mode and nothing exists from what I can tell in man pages or on<br>
&gt;&gt; internet to determine if something is an archive let alone state1 or state2.<br>
&gt;<br>
&gt; <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>
&gt;<br>
&gt; -Jan<br>
&gt; _______________________________________________<br>
&gt; cs631apue mailing list<br>
&gt; <a href="mailto:cs631apue@lists.stevens.edu">cs631apue@lists.stevens.edu</a><br>
&gt; <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>