Mail Archives: djgpp-workers/2003/01/07/11:54:23
Hi,
this is my 1st post to the workers list. I've been lurking in the 'djgpp' list for years..
I skimmed the 2.04 alpha sources and noticed the '__set_fd_properties()' function.
What is the main use of this function? The info-doc didn't give an overall picture.
Can it be used for FSext'ed handles?
I'm the maintainer of Watt-32 tcp/ip, where sockets are FSext handles. Can
I use something like this to auto-close a socket? (when last dup'ed socket is
closed):
char dev_name[20];
sprintf (dev_name, "/dev/socket/%d", s);
__set_fd_properties (s, dev_name, 0); /* what's the last arg? */
__set_fd_flags (s, FILE_DESC_TEMPORARY);
Can it be used (or extended) to make some sort of virtual dir-list of
"/dev/socket/"?
Gisle V.
# rm /bin/laden
/bin/laden: Not found
- Raw text -