* Ken'ichi Ohmichi <[email protected]> [2009-12-02 08:46:51]:
> > Thanks and sorry for the delay in responding, I was wondering why
> > fopen() was changed to open(), fprintf() to write(), etc.
>
> If writing an invalid value on a file of cgroup fs, write(2) returns -1
> with a right errno. But fprintf(3) does not return it, because fprintf(3)
> write on some buffer. So it is better that we check the return value of
> write(2).
>
Hmmm.. are you sure? Can we please double check the return value. I'll
do so as well.
--
Balbir
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing.
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Libcg-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libcg-devel