C(++)-Developers: howto be notified when directory changes? (like dnotify/inotify) - BSD

This is a discussion on C(++)-Developers: howto be notified when directory changes? (like dnotify/inotify) - BSD ; in linux a program can be notified of changes in a directory over the "dnotify" or "inotify" mechanism. is there a similar mechanism or port of these programs in OpenBSD?...

+ Reply to Thread
Results 1 to 3 of 3

Thread: C(++)-Developers: howto be notified when directory changes? (like dnotify/inotify)

  1. C(++)-Developers: howto be notified when directory changes? (like dnotify/inotify)

    in linux a program can be notified of changes in a directory over the
    "dnotify" or "inotify" mechanism.
    is there a similar mechanism or port of these programs in OpenBSD?


  2. Re: C(++)-Developers: howto be notified when directory changes? (like dnotify/inotify)

    In article <1183641431.451680.283520@k79g2000hse.googlegroups. com>,
    pixotec wrote:
    >in linux a program can be notified of changes in a directory over the
    >"dnotify" or "inotify" mechanism.
    >is there a similar mechanism or port of these programs in OpenBSD?


    kqueue(2) is the `equivalent'. There are some subtle differences.

    If you want some comparison, the source to qt4 contains both BSD and Linux
    support code for this kind of thing.

  3. Re: C(++)-Developers: howto be notified when directory changes? (like dnotify/inotify)

    Marc Espie wrote:
    > In article <1183641431.451680.283520@k79g2000hse.googlegroups. com>,
    > pixotec wrote:
    >> in linux a program can be notified of changes in a directory over the
    >> "dnotify" or "inotify" mechanism.
    >> is there a similar mechanism or port of these programs in OpenBSD?

    >
    > kqueue(2) is the `equivalent'. There are some subtle differences.
    >
    > If you want some comparison, the source to qt4 contains both BSD and
    > Linux support code for this kind of thing.


    Somewhat off-topic: Marc, I appreciate your presence on this ng. Thanks.

    Steve
    http://www.fivetrees.com



+ Reply to Thread