9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Byron Rakitzis byron@netapp.com
Subject: estart() in libg
Date: Fri, 13 Jan 1995 19:11:46 -0500	[thread overview]
Message-ID: <19950114001146.AYFxf13GQzMS7vQa9JezzAYDOQhhpV1JGDh3fLuWDmY@z> (raw)

[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?






                 reply	other threads:[~1995-01-14  0:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19950114001146.AYFxf13GQzMS7vQa9JezzAYDOQhhpV1JGDh3fLuWDmY@z \
    --to=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).