[Mono-list] How to get file information on Linux?

David Schmitt david at dasz.at
Wed Mar 5 20:14:36 UTC 2014


On 2014-03-04 16:34, cocowalla wrote:
> Maybe I'm missing something, but for getxattr it just says 'Documentation for
> this section has not yet been entered.' for everything?
>
> I figured maybe I need to call listxattr first to get the names of valid
> attributes and pass those into getxattr... but listxattr just returns 0 and
> doesn't populate the string array :(
>

getxattr and listxattr (and probably most everything else there) seems 
to just be P/Invokes to the actual syscalls. So checkout the man pages 
and other systems programming documentation for those calls.


See
> https://github.com/mono/mono/blob/master/mcs/class/Mono.Posix/Mono.Unix.Native/Syscall.cs#L1764

for example


Regards, David



More information about the Mono-list mailing list