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: 31 August 2014, 5:38 PM EDT
Location: NM
Posts: 10,180
Thanks: 275
Thanked 785 Times in 734 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 10:13 AM
sed magic redsolja Shell Programming and Scripting 5 12-13-2010 04:54 AM
magic 8ball JamieMurry UNIX for Dummies Questions & Answers 6 04-22-2009 11:25 PM
sed magic! vibra Shell Programming and Scripting 9 08-25-2008 11:37 AM
magic.h vijlak UNIX for Dummies Questions & Answers 0 11-16-2006 11:27 AM



All times are GMT -4. The time now is 03:33 AM.