title: How to identify whether a file is elf file using C language function？
body: <p>In my program , I want to identify whether a file  is ELF(Executable and Linkable Format) type.   How to  identify whether a file is elf file using C language function? </p>