Commit 193e51de authored by Sven Schnelle's avatar Sven Schnelle Committed by Simon Horman
Browse files

add slurp_proc_file()



slurp_file() cannot be used to read proc files, as they are returning
a size of zero in stat(). Add a function slurp_proc_file() which is
similar to slurp_file(), but doesn't require the size of the file to
be known.

Signed-off-by: default avatarSven Schnelle <svens@linux.ibm.com>
Signed-off-by: default avatarSimon Horman <horms@verge.net.au>
parent 91a3d0e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment