return -EINVAL;
bufpos += len+1;
}
-printf("created buf %p, size %zu '%s'\n", udev_device->monitor_buf, bufpos, udev_device->monitor_buf);
udev_device->monitor_buf_len = bufpos;
}
*buf = udev_device->monitor_buf;
-printf("return buf %p, size %zu '%s'\n", *buf, udev_device->monitor_buf_len, *buf);
return udev_device->monitor_buf_len;
}