xs_write
error = xs_write(XST_NIL, "control", "shutdown", "");
xs_write(XST_NIL, "control", "feature-poweroff", "1");
xs_write(XST_NIL, "control", "feature-reboot", "1");
xs_write(XST_NIL, "control", "feature-suspend", "1");
error = xs_write(t, dir, node, sbuf_data(sb));
if (xs_write(XST_NIL, path_buffer, "error", printf_buffer) != 0) {
int xs_write(struct xs_transaction t, const char *dir,