[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: File I/O



On Mon, 28 Feb 2000, Outlaw Jim wrote:

>>how can I read individual bytes from a file and push the value into a char
>>variable?
>>ie read the second byte of a file then push it in char secondByte
>
>
>oops! forgot to mention, it needs to be C code...

	% man fread

---------------------+------------------------------------------------------
 Jan 'Chakie' Ekholm |    CS at Åbo Akademi University, Turku, Finland
    Linux Inside     | I'm the blue screen of death, no-one hears you scream