<div dir="ltr">There&#39;s not. What you can do is check the file mode mode against execute permissions on the user/group/other permissions.</div><br><div class="gmail_quote"><div dir="ltr">On Wed, Sep 27, 2017 at 4:20 AM mseaton &lt;<a href="mailto:mseaton@stevens.edu">mseaton@stevens.edu</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
Is there a special boolean type for an executable file? For example<br>
IS_REG(mode) is for a regular file. The reason for this question is<br>
because of the -F option for ls.<br>
Marlon<br>
_______________________________________________<br>
cs631apue mailing list<br>
<a href="mailto:cs631apue@lists.stevens.edu" target="_blank">cs631apue@lists.stevens.edu</a><br>
<a href="https://lists.stevens.edu/mailman/listinfo/cs631apue" rel="noreferrer" target="_blank">https://lists.stevens.edu/mailman/listinfo/cs631apue</a><br>
</blockquote></div><div dir="ltr">-- <br></div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Jason Ajmo</div><div>Stevens Institute of Technology</div><div>B.S. Cybersecurity &#39;17</div><div>M.S. Computer Science &#39;18</div><div>0x56FA3123</div></div></div>