Searched refs:endbuf (Results 1 - 1 of 1) sorted by relevance

/external/ltp/tools/top-LTP/proc/
H A Dreadproc.c262 char *p, *rbuf = 0, *endbuf, **q, **ret; local
294 endbuf = rbuf + tot; /* count space for pointers */
298 for (c = 0, p = rbuf; p < endbuf; p++)
304 endbuf = rbuf + tot; /* addr just past data buf */
305 q = ret = (char **)(endbuf + align); /* ==> free(*ret) to dealloc */
307 endbuf--; /* do not traverse final NUL */
308 while (++p < endbuf)

Completed in 238 milliseconds