fgetc doubts
Gábor Kövesdán
gabor at FreeBSD.org
Tue Mar 10 15:46:47 PDT 2009
Xin LI escribió:
>
> Is binbuf[] an array of char or unsigned char? If it's signed char then
> you may want something like ch = binbufptr[0] & 0xff I guess.
>
Hi,
thanks, it is now satrting to work, binbuf was of signed int. But now,
I've got one more of that strange character at the end of the output,
while it's not really there.
--
Gabor Kovesdan
FreeBSD Volunteer
EMAIL: gabor at FreeBSD.org .:|:. gabor at kovesdan.org
WEB: http://people.FreeBSD.org/~gabor .:|:. http://kovesdan.org
More information about the freebsd-hackers
mailing list