[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]