ibuf_get_string
char *ibuf_get_string(struct ibuf *, size_t);
if ((s = ibuf_get_string(&ibuf, len)) != NULL) {
if ((str = ibuf_get_string(pdu, msg_len)) == NULL)