9fans archive / 1995 / 01 / 6 /    prev next

From: Byron Rakitzis byron@net...
Subject: estart() in libg
Date: Fri, 13 Jan 1995 19:11:46 -0500

[I am talking about libXg but I assume the same applies to plan9 libg]

I can use estart() to register a file descriptor with the libg library,
but I don't see a way to *remove* a file descriptor.

Suppose my program wishes to add fd==4, and then the channel on fd #4
is closed. A subsequent open returns fd==4 again. Will/can the file
descriptor be re-registered?

Does libg handle this case?