🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #1069

file magic number

#1069
From: hao zhou
Date: Sat, 20 Oct 1990 00:26
11 lines
701 bytes
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
Technical Details
Message-ID: <41719@eerie.acsu.Buffalo.EDU>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!elroy.jpl.nasa.gov!usc!zaphod.mps.ohio-state.edu!ub!acsu.buffalo.edu

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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