[cs631apue] Marlon-Executable file type?

Jason Ajmo jajmo at stevens.edu
Wed Sep 27 12:17:03 EDT 2017


There's not. What you can do is check the file mode mode against execute
permissions on the user/group/other permissions.

On Wed, Sep 27, 2017 at 4:20 AM mseaton <mseaton at stevens.edu> wrote:

> Hello,
> Is there a special boolean type for an executable file? For example
> IS_REG(mode) is for a regular file. The reason for this question is
> because of the -F option for ls.
> Marlon
> _______________________________________________
> cs631apue mailing list
> cs631apue at lists.stevens.edu
> https://lists.stevens.edu/mailman/listinfo/cs631apue
>
-- 
Jason Ajmo
Stevens Institute of Technology
B.S. Cybersecurity '17
M.S. Computer Science '18
0x56FA3123
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.stevens.edu/pipermail/cs631apue/attachments/20170927/e1f2f3aa/attachment.html>


More information about the cs631apue mailing list