[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: server problem



Peter Peres <plp@actcom.co.il> wrote:
|while(keep_forking)
|{
|  get_connection()
|
|  switch(fork())
|  {
|  case 0: /* child */
|     log_this1()
|     exit
|
|  case -1: /* die */

What's errno's value at this point?  The rest look normal so far.

--Amos

--Amos Shapira                    | "Of course Australia was marked for
133 Shlomo Ben-Yosef st.          |  glory, for its people had been chosen
Jerusalem 93 805                  |  by the finest judges in England."
ISRAEL        amos@gezernet.co.il |                     -- Anonymous


References: