[lkml]   [2005]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: fcntl(F_GETLEASE) semantics??
Peter Chubb <> wrote:
> if (fcntl(fd, F_SETLEASE, F_RDLCK) == -1)
> fail;

Is that something inotify can do? If so, then should F_SETLEASE/GETLEASE
be deprecated for future? F_SETLEASE is Linux specific, and inotify is
generally more useful. It looks like inotify could be used to detected
changes in any file.

Heikki Orsila Barbie's law: "Math is hard, let's go shopping!"
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-08-11 20:44    [W:0.051 / U:20.344 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site