こんな感じか

#include &lt;hiredis.h&gt;
redisContext *conn = NULL;
redisReply *resp   = NULL;
conn = redisConnect("御社",6379);
resp = (redisReply *) redisCommand(conn,"GET %d","くにゅくにゅ");
printf( "%s\n",resp-&gt;str);