fuse_context.pid

process ID of the calling thread

struct fuse_context
pid_t pid;

Meta