magic.h | Unix Linux Forums | UNIX for Advanced & Expert Users

  Go Back    


UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

magic.h

UNIX for Advanced & Expert Users


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 11-16-2006
vijlak vijlak is offline
Registered User
 
Join Date: Nov 2006
Last Activity: 6 March 2007, 10:53 PM EST
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
magic.h

Where can I find #defines for filetypes like the ELF etc and the magic.h file?
CAn anyone advice.
Thanks in advance.
Sponsored Links
    #2  
Old 11-16-2006
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
 
Join Date: Feb 2004
Last Activity: 20 November 2014, 2:42 PM EST
Location: NM
Posts: 10,277
Thanks: 287
Thanked 814 Times in 756 Posts
usually:
/usr/include/magic.h

and there is almost always a companion to define system-specific magic numbers:
/usr/include/sys/magic.h
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
I got a magic wand Perderabo What is on Your Mind? 2 06-05-2011 11:13 AM
sed magic redsolja Shell Programming and Scripting 5 12-13-2010 05:54 AM
magic 8ball JamieMurry UNIX for Dummies Questions & Answers 6 04-23-2009 12:25 AM
sed magic! vibra Shell Programming and Scripting 9 08-25-2008 12:37 PM
magic.h vijlak UNIX for Dummies Questions & Answers 0 11-16-2006 12:27 PM



All times are GMT -4. The time now is 04:23 PM.