NEED HELP: fread, fwrite, fseek, ftell
    Derek E. Terveer 
    det at hawkmoon.MN.ORG
       
    Fri May 12 23:13:43 AEST 1989
    
    
  
In article <7327 at mrspoc.UUCP>, itkin at mrspoc.UUCP (Steven M. List) writes:
> I am trying to write a simple little program to swap bytes and/or words
> in a file.
I'm not sure if this will do what you want, but you might want to check out the
command:
	dd if=file_name conv=swab
which swaps every pair of bytes in the input stream.  dd(1m)
derek
-- 
Derek Terveer 	    det at hawkmoon.MN.ORG || ..!uunet!rosevax!elric!hawkmoon!det
		    w(612)681-6986   h(612)688-0667
"A proper king is crowned" -- Thomas B. Costain
    
    
More information about the Comp.unix.xenix
mailing list