File Descriptor!


#1

On page 460

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

Thanks


#2

Hi!

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

Cheers,
++md