On 04/17/2013 01:08 PM, Liu Yuan wrote: > BTW, Could you abstract atomic_create_and_write(char *buf, size_t len) > in util.c? the prototype should be: int atomic_create_and_write(char *path, char *buf, size_t len); Thanks, Yuan