Lines Matching defs:act
124 init_action(action_t *act, int sleep, action_id_t call, int nargs, ...)
129 act->act_dosleep = sleep;
130 act->act_id = call;
134 act->act_args[i] = va_arg(ap, void*);
208 action_t *act = (action_t*)actionptr;
209 void **args = act->act_args;
217 LOG(1, stderr, "Beginning action of type %d\n", act->act_id);
220 if(SLEEP == act->act_dosleep) {
223 switch(act->act_id) {
260 res = write((int)act->act_fd, TEST_STRING, strlen(TEST_STRING));
268 while (write((int)act->act_fd, "a", 1) > 0);
275 res = lseek((int)act->act_fd, (int)args[0], SEEK_SET);