try_set
static inline int try_set(FILE *stream, int value);
while (try_set(max_msgs, cur_max_msgs += 10))
while (try_set(max_msgsize, cur_max_msgsize += 1024))