Redis-readme-3.c
· 169 B · C
Sin formato
void foobarCommand(client *c) {
printf("%s",c->argv[1]->ptr); /* Do something with the argument. */
addReply(c,shared.ok); /* Reply something to the client. */
}
1 | void foobarCommand(client *c) { |
2 | printf("%s",c->argv[1]->ptr); /* Do something with the argument. */ |
3 | addReply(c,shared.ok); /* Reply something to the client. */ |
4 | } |