glibc i zwisy poldka
Jakub Bogusz
qboosh at pld-linux.org
Mon Apr 11 20:28:56 CEST 2005
On Sun, Apr 10, 2005 at 10:06:53AM +0200, Pawel Sikora wrote:
> juz samo fileno(stream) po otwarciu strumienia zwraca -1 (blad).
I ma prawo w przypadku strumieni tworzonych przez fopencookie():
(info libc)
| -- Function: int fileno (FILE *STREAM)
| This function returns the file descriptor associated with the
| stream STREAM. If an error is detected (for example, if the STREAM
| is not valid) or if STREAM does not do I/O to a file, `fileno'
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^
| returns -1.
^^^^^^^^^^
--
Jakub Bogusz http://cyber.cs.net.pl/~qboosh/
More information about the pld-devel-pl
mailing list