Tracy Nelson on Wed, 18 Aug 1999 16:06:14 -0400 (EDT)


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

Re: [Plug] converting FILE* to file descriptor


It's "fileno(fileDesc)"

To go the other way, try "&_iob[fd]", where fd is the integer file
descriptor.


-----Original Message-----
From: Son To <son@wharton.upenn.edu>
To: plug@lists.nothinbut.net <plug@lists.nothinbut.net>
Date: Wednesday, August 18, 1999 14:56
Subject: [Plug] converting FILE* to file descriptor


>Does anyone remember the system call to get the file descriptor associated
>with FILE structure?
>
>thanks,
>son
>
>
>_______________________________________________
>Plug maillist  -  Plug@lists.nothinbut.net
>http://lists.nothinbut.net/mail/listinfo/plug


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