[libvirt] [PATCH v7 5/6] make /proc/meminfo isolate with host through fuse

Richard W.M. Jones rjones at redhat.com
Tue Nov 6 09:00:36 UTC 2012


On Tue, Nov 06, 2012 at 02:07:21PM +0800, Gao feng wrote:
> +    while (fgets(line, sizeof(line), statfd) != NULL) {

I wonder if libvirt prefers the getline API instead of fgets?

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora




More information about the libvir-list mailing list