[klibc] [PATCH] add inotify system calls

Kay Sievers kay.sievers at vrfy.org
Tue Sep 6 13:28:36 PDT 2005

On Fri, Sep 02, 2005 at 12:31:51AM -0400, Robert Love wrote:
> On Thu, 2005-09-01 at 20:26 -0700, H. Peter Anvin wrote:
> > I would also like to add the header.  Robert, is it OK to include your 
> > header into klibc under the MIT license?
> Of course.
> > Also, the header is listed as <inotify.h>, but it seems to me that it 
> > really, *REALLY*, should be <sys/inotify.h>.  Agreed?
> Yes, it should be <sys/inotify.h>.  I think glibc has it there, too.

Yes, it is. But you may want to add something like this:
  extern int inotify_init(void);
  extern int inotify_add_watch(int fd, const char *name, uint32_t mask);
  extern int inotify_rm_watch(int fd, uint32_t wd);

to the klibc <sys/inotify.h> file?


More information about the klibc mailing list