Path: utzoo!attcan!uunet!lll-winken!elroy.jpl.nasa.gov!usc!zaphod.mps.ohio-state.edu!ub!acsu.buffalo.edu From: haozhou@acsu.buffalo.edu (hao zhou) Newsgroups: comp.unix.programmer Subject: file magic number Message-ID: <41719@eerie.acsu.Buffalo.EDU> Date: 20 Oct 90 00:26:13 GMT Sender: news@acsu.Buffalo.EDU Organization: SUNY Buffalo Lines: 11 Nntp-Posting-Host: autarch.acsu.buffalo.edu Can anybody out there tell me how to figure out the file magic number on unix? If possible, can somebody post a piece of sample code? Thanks in advance... -- HaoZ. -- Internet:haozhou@acsu.buffalo.edu BITNET:haozhou%acsu.buffalo.edu@UBVM.BITNET UUCP: uunet!acsu.buffalo.edu!haozhou