[libvirt] [PATCH v7 5/6] make /proc/meminfo isolate with host through fuse
Daniel P. Berrange
berrange at redhat.com
Thu Nov 8 14:32:26 UTC 2012
On Tue, Nov 06, 2012 at 09:00:36AM +0000, Richard W.M. Jones wrote:
> 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?
I don't think we have a documented policy for this, but getline
is a nicer API IMHO
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the libvir-list
mailing list