Files
alcove/examples
Michael Santos 572742b376 alcove_cgroup:set/6: return value
Make the result of alcove_cgroup:set/6 more consistent:

* return ok on success
* return an errno tuple if open() or write() fails
* return {error,enoent} if the cgroup does not exist, instead of []

In the case of a partial write, currently the code will crash, taking
care to close the fd in the unix child process first. The code could
select on the fd and attempt another write.
2015-07-29 11:47:44 -04:00
..
2015-07-29 11:47:44 -04:00
2015-07-29 11:47:44 -04:00