lkml.org 
[lkml]   [2002]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Getting file attributes
* Niki Rahimi (narahimi@us.ibm.com) wrote:
> Hi All,
> I have been working on finding a system call that will retrieve the
> current file's attributes, especially the file owner and permissions. have
> seen VOP_GETATTR() in OpenBSD, which returns such information in a
> structure. Is there anything equivalent to this on the Linux kernel?
> I've been searching through the kernel code for something equivalent
> but my paths have lead me nowhere.

does stat(2) have what you're lookig for??

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

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