lkml.org 
[lkml]   [2000]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: fcntl(2) and other file systems like XFS
David Howells wrote:
> I still think that there should be some sort of equivalent of fcntl() that
> works on filenames rather than file descriptors for this sort of thing.
>
> Not all fcntl() options would be valid in such a context (for instance file
> locks), but some of the others proposed might.

fcntl() is almost by definition, an operation on an open fd. You'll
notice none of the existing fcntl() operations makes sense without a
descriptor. Only the proposed extensions, which it has been argued
should be ioctls not fcntls.

-- Jamie

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.039 / U:2.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site