title: Can I use MGET with hiredis?
body: <p>Consider following example:</p>
  
  <pre><code>#include &lt;stdlib.h&gt;
  #include &lt;stdio.h&gt;
  #include &lt;errno.h&gt;
  #include &lt;hiredis/hiredis.h&gt;
  
  int main(int argc, char **argv) {
    redisContext *redis;
    redisReply *reply;
  
    redis = redisConnect("127.0.0.1", 6379);
    if(redis-&gt;err) {
      fprintf(stderr, "Connection error: %s\n", redis-&gt;errstr);
      exit(EXIT_FAILURE);
    }
  
    reply = redisCommand(redis, "SET %s %s", "foo", "bar");
    printf("SET %s %s: %s\n", "foo", "bar", reply-&gt;str);
    freeReplyObject(reply);
  
    reply = redisCommand(redis, "SET %s %s", "name", "value");
    printf("SET %s %s: %s\n", "name", "value", reply-&gt;str);
    freeReplyObject(reply);
  
    reply = redisCommand(redis, "MGET %s %s", "foo", "name");
    printf("MGET %s %s: %s\n", "foo", "name", reply-&gt;str);
    freeReplyObject(reply);
  
    exit(EXIT_SUCCESS);
  }
  </code></pre>
  
  <p>The output is:</p>
  
  <pre><code>PING: PONG
  SET foo bar: OK
  GET foo: bar
  SET name value: OK
  MGET foo name: (null)
  </code></pre>
  
  <p>It's about return from MGET. Can I get multi keys using hiredis?</p>