Lines Matching defs:act
125 init_action(action_t *act, int sleep, action_id_t call, int nargs, ...)
130 act->act_dosleep = sleep;
131 act->act_id = call;
135 act->act_args[i] = va_arg(ap, void*);
209 action_t *act = (action_t*)actionptr;
210 void **args = act->act_args;
218 LOG(1, stderr, "Beginning action of type %d\n", act->act_id);
221 if(SLEEP == act->act_dosleep) {
224 switch(act->act_id) {
261 res = write((int)act->act_fd, TEST_STRING, strlen(TEST_STRING));
269 while (write((int)act->act_fd, "a", 1) > 0);
276 res = lseek((int)act->act_fd, (int)args[0], SEEK_SET);