Home | History | Annotate | Download | only in lib

Lines Matching defs:forker

36  *    FUNCTION NAME     : forker
43 * int forker(ncopies, mode, prefix)
65 * The forker function will fork <ncopies> minus one copies
71 * The forker function will return the number of successful
77 * The forker function also updates the global variables
115 #include "forker.h"
152 * Forker will fork ncopies-1 copies of self.
155 int forker(int ncopies,
174 "%s: %s,forker(): fork() failed, errno:%d %s\n",
201 "%s: %s,forker(): fork() failed, errno:%d %s\n",
228 } /* end of forker */
233 * The following is a unit test main for the background and forker
266 ret = forker(ncopies, mode, argv[0]);
268 printf("forker(%d, %d, %s) ret:%d, pid = %d, sleeping 30 seconds.\n",