1 .TH llapi_path2fid 3 "2018-11-28" "Lustre User API"
3 llapi_path2fid \- translate a path name to a File Identifier
6 .B #include <lustre/lustreapi.h>
8 .BI "int llapi_path2fid(const char *" path ", struct lu_fid *" fid );
13 stores the Lustre file identifier (FID) for the file or directory named
20 may be then be passed to other
22 functions that expect the
27 returns 0 on success or a negative errno value on failure.
31 An invalid argument was specified.
35 does not reside on a Lustre filesystem.
41 .BR llapi_layout_get_by_fid (3),
43 .BR llapi_fid2path (3),
44 .BR llapi_path2parent (3),