Lines Matching defs:reply
81 struct apm_reply *reply)
88 if (recv(fd, reply, sizeof(*reply), 0) != sizeof(*reply)) {
89 warn("invalid reply from APM daemon");
103 struct apm_reply reply;
122 exit(send_command(fd, &command, &reply));
151 struct apm_reply reply;
152 struct apm_power_info *api = &reply.batterystate;
238 memset(&reply, 0, sizeof(reply));
240 &reply.batterystate) == -1)
271 if ((rval = send_command(fd, &command, &reply)) == 0) {
322 switch (reply.newstate) {
335 errx(rval, "cannot get reply from APM daemon");