Code for directory monitor using Unix concepts in C language

前端 未结 2 1826
鱼传尺愫
鱼传尺愫 2021-01-24 04:43

On a server, a process monitors the files in a Unix file system.

If a client sends the file name to be monitored, the server has to send the report to the client whether

2条回答
  •  南笙
    南笙 (楼主)
    2021-01-24 05:19

    Have a look at inotify at http://en.wikipedia.org/wiki/Inotify - linux only I'm afraid.

    BSD has kqueue - see http://en.wikipedia.org/wiki/Kqueue.

提交回复
热议问题