Example:
auto content = readProcFile("/proc/stat");string readProcFile(string path) @safe nothrowReads a /proc file and returns its content.
This is a helper function for reading /proc files safely.
path | Path to the /proc file. |
Example:
auto content = readProcFile("/proc/stat");