[lxc-devel] [PATCH 5/6] utils: Add utility functions that write/read to entire files

Christian Seiler christian at iwakd.de
Tue Sep 10 13:55:33 UTC 2013


Hi Serge,

> but I notice that lxc_read_line_from_file() is not being used here
> or later.  The function would seem more useful if it accepted a line
> number to read.  Otherwise I'd suggest we drop the function.  Thoughts?

I thought I'd need it at some point so I added it and then I ended up
not using it... The idea was for reading a single-lined file, such as
/proc/self/comm or something along the lines. Feel free to remove it.

-- Christian




More information about the lxc-devel mailing list