How to know your current shell from C code

mikel at cadence.cadence.com mikel at cadence.cadence.com
Wed Sep 12 02:44:36 AEST 1990


        Recently I had a UNIX question.  I have a c program and
I want to know which shell(sh,csh,ksh) is my parent.  Is there
any way to do this?  Environment variable is not acceptable.



More information about the Comp.unix.internals mailing list