FILE *
Vasilis Vasaitis
vvas at hal.csd.auth.gr
Tue Mar 2 00:12:38 EET 1999
On Mon, Mar 01, 1999 at 04:12:56PM +0000, Anastasios Mavroudeas wrote:
> Gia sas ,
> mia erwtish peri C.
>
> 8elw va metatrepsw eva FILE *myfd se int fd. Ypo8etw pws mporw me kapoio
> cast alla dev 3erw ti cast va kavw.
>
> Xrhshmopoiw thv popen() pou epistrefei FILE * kai meta 8elw va kavw
> read() pou xreiazete int fd.
>
> Thanks in advance
#include <stdio.h>
int fileno(FILE *stream);
Kalo einai pantos na min mperdeueis tis sinartiseis twn streams me autes
gia file descriptors. Stin sigkekrimeni periptosi, to kalitero pou exeis
na kaneis einai na xrisimopoiiseis tin fread(3) anti gia tin read(2).
Vasilis Vasaitis
vvas at hal.csd.auth.gr
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
====================================================================
More information about the Linux-greek-users
mailing list