[LTP] [PATCH RFC 1/2] lib: add SAFE_READ_PROC_STATUS macro

Petr Vorel pvorel@suse.cz
Mon Jan 25 09:29:19 CET 2021


> To parse /proc/PID/status files, for example:
>     SAFE_READ_PROC_STATUS(pid, "VmSwap:");

Reviewed-by: Petr Vorel <pvorel@suse.cz>

Kind regards,
Petr


More information about the ltp mailing list