Listing 27 in C

kvmsg_set_prop (kvmsg, "ttl", "%d", randof (30));