Joerg Schilling wrote: > Vladimir Kotal <Vladimir.Kotal at sun.com> wrote: > >>> It's older and more common than that. It's a BSD-ism. >> Yep, the beast is quite old. The daemon() function is present in libc >> sources of 4.4BSD-Lite with a date of 1993. It can be also found in >> 4.3BSD-Reno with a date of 1990 but not in libc (in libutil). > > SunOS was never "based" on 4.3 but on 4.2 + additions from 4.3 > > Did you check the SCCS when it appeared first?
That is not relevant to this case. It is sufficient to know that it has been in BSD & Linux libc for many years. Exact dates are historical trivia, and don't affect whether it's a good idea to ship it now. (What version SunOS was based on is even more irrelevant, since we're not talking about modifying SunOS, or using SunOS as historical precedent.) -- -Alan Coopersmith- alan.coopersmith at sun.com Sun Microsystems, Inc. - X Window System Engineering