OS Manuals

llapi_project_open(3)

llapi_project_open - open project mapping file

LLAPI_PROJECT_OPEN(3) Lustre Library Functions LLAPI_PROJECT_OPEN(3)

llapi_project_open - open project mapping file

#include <lustre/lustreapi.h>

int llapi_project_open(const char *name, struct ll_project_handle *hdl,
                       char *mode);

The llapi_project_open() function opens the file specified by name. if name is NULL then it will use the path in LIBLUSTREAPI_PROJECT, if available, and will default back to /etc/projid otherwise.

0
on success
error code on failure and sets errno appropriately.

if name is not NULL, but begins with ' '.
if it fails to allocate enough space for the new ll_project_handle.

llapi_project_open() is part of the lustre(7) user application interface library since release 2.17.0

lfs_project(1), llapi_project_close(3), llapi_project_fgetnam(3), llapi_project_fgetprjid(3), llapi_project_get(3), llapi_project_getnam(3), llapi_project_getprjid(3), llapi_project_put(3), projid(5), lustreapi(7)

2025-07-01 Lustre User API

lustre 2.17.59-r1 · enterprise-packages · ingested 2026-10-02