Lunatik

linux.statModule

Linux kernel constants exposed under linux.stat.

Values are populated at build time from the kernel headers. File mode bits. Mirrors S_* defines in <linux/stat.h>. Keys are the kernel names with the prefix stripped: S_<NAME> is linux.stat.<NAME>.

Usage

local stat = require("linux.stat")