[comp.lang.c] How to read 0xFFFF from a file ?!?!

kilroy@kilsys.UUCP (Francesco Rossi) (01/14/89)

Hiya world, I have a little problem, and I am asking myself if the whole
usenet users can solve it ... :-)
Well the main problem is that I have troubles reading an Sun's icon file
the file is built by lines as following:

    0xFFFF,0xFFFF,0xFFFF,0xFFFF,0x8000,0x0000,0x0000,0x0003,

The only way I tried is with scanf, but it didn't work ...
Any answer ?
Hope to get many answers soon ....
Thanks in advance ...
           Francesco

-- 
= Francesco Rossi, * Kilroy Software Development *  |Real users hates real
= UUCP: ...!uunet!altnet!altger!i2ack!kilsys!kilroy |programmers...
=       ...!pyramid!i2ack!kilsys!kilroy             +---------------------
=[### SCCS, the source motel! Programs  check in and never check out! ###]=