[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pdf-devel] pdf_function.c
From: |
Hardy Falk |
Subject: |
Re: [pdf-devel] pdf_function.c |
Date: |
Thu, 25 Oct 2007 20:29:09 +0200 |
User-agent: |
KMail/1.9.5 |
Am Mittwoch, 24. Oktober 2007 23:33 schrieb address@hidden:
> So the return value of read_p() is fixed for each
> stream and only depend on the mode specified in
> pdf_create_stream().
Hm, yes. I don't know what happened.
I got an endless stream of valid nul characters.
EOF as error indicator is more conventional:
from "man 3 fgetc" :
... reads the next character from stream and returns
it as an unsigned char cast to an int,
or EOF on end of file or error.