• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ok, dumb question, but ...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ok, dumb question, but ...


  • Subject: Re: ok, dumb question, but ...
  • From: email@hidden
  • Date: Tue, 4 Apr 2006 03:38:41 -0700


Dave,

The ident field is something you passed into the kqueue in the first place. You should, with your data structures, be able to map it back to whatever resource you allocated.

After a brief hiatus, i'm back to playing with kqueue / kevent. I've a simple question, though ... from the kevent.ident field, how to I determine the actual resource that this references (filename, socket, etc.)?

Oh I understand this ... if I added it, I should know what I added. I likely phrased my question wrong -- is there a way I can map the ident field back into whatever it is e.g. is there a way I can map a FD to a filename (if the ident field is really an FD)? I thought I remembered old C stuff to do this, but ...


Regards,

John, "I used to read books, but ..." -- Pink Floyd, "Not Now John"

Falling You - exploring the beauty of voice and sound
http://www.fallingyou.com











_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: ok, dumb question, but ...
      • From: Dave Zarzycki <email@hidden>
References: 
 >ok, dumb question, but ... (From: email@hidden)
 >Re: ok, dumb question, but ... (From: Dave Zarzycki <email@hidden>)

  • Prev by Date: Re: writev fails on tun
  • Next by Date: Re: ok, dumb question, but ...
  • Previous by thread: Re: ok, dumb question, but ...
  • Next by thread: Re: ok, dumb question, but ...
  • Index(es):
    • Date
    • Thread