Login shell?
Guy Harris
guy at auspex.UUCP
Wed Nov 9 05:44:07 AEST 1988
>You WILL find this call on ALL System V machines that conform to
>the SVID. If your machine doesn't have it, then look up utmp(4)
>and write a 10-line function that will read in the structure
>declared there and in /usr/include/utmp.h. I'm pretty sure that
>even BSD machines have this. Even with job control, your utmp
>entry's ut_pid WILL be that of your ksh!
BSD systems, just like the AT&T V7 systems from which they are
descended, do not have a "ut_pid" in their "utmp" entries.
More information about the Comp.unix.questions
mailing list