Warning: lstatlist is deprecated.
lstat on multiple files
In new code, use lstatnslist instead
This call allows you to perform the lstat operation on multiple files, where all
files are in the directory path
. names
is the list of files from this directory.
On return you get a list of stat structs, with a one-to-one correspondence to the names
list. If any name did not exist or
could not be lstat'd, then the st_ino
field of that structure is set to @-1.
This call is intended for programs that want to efficiently list a directory contents without making many round-trips. See also lxattrlist for a similarly efficient call for getting extended attributes.
this |
A GuestfsSession object |
names |
an array of strings |
an array of Stat objects, or NULL on error |