File Descriptor!

On page 460

Do I need to close the file descriptor When it opened by open() function and then register into the kevent ?

Thanks

Hi!

You should leave the file descriptor open. Closing the fd causes events for that file to be removed.

Cheers,
++md