est on Wed, 18 Aug 1999 16:21:43 -0400 (EDT)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [Plug] converting FILE* to file descriptory


Tracy Nelson discourseth:
> It's "fileno(fileDesc)"
> 
> To go the other way, try "&_iob[fd]", where fd is the integer file
> descriptor.

Only if you've got really good reasons to not use fdopen(). :)

Eric

_______________________________________________
Plug maillist  -  Plug@lists.nothinbut.net
http://lists.nothinbut.net/mail/listinfo/plug