Lines Matching refs:action
40 ssize_t sfpkrd(int fd, Void_t* argbuf, size_t n, int rc, long tm, int action) in sfpkrd() argument
42 ssize_t sfpkrd(fd, argbuf, n, rc, tm, action) in sfpkrd()
48 int action; /* >0: peeking, if rc>=0, get action records,
58 if(rc < 0 && tm < 0 && action <= 0)
61 t = (action > 0 || rc >= 0) ? (STREAM_PEEK|SOCKET_PEEK) : 0;
92 { if(action <= 0) /* read past eof */
108 while(tm >= 0 || action > 0 ||
193 { if(action <= 0 && rc < 0)
245 { if(action <= 0)
255 { if(tm >= 0 || action > 0)
259 if((action = action ? -action : 1) > (int)n)
260 action = n;
262 while((t = sysreadf(fd,buf,action)) > 0)
266 action -= 1;
267 if(action == 0 || (int)(n-r) < action)
278 t = action == 0 ? 1 : action < 0 ? -action : action;
287 if(action <= 0)