[Previous] [Contents] [Index] [Next]

PtTtyShell()

Return the user's shell

Synopsis:

const char PtTtyShell( void );

Description:

The PtTtyShell() function returns either the value of the SHELL environment variable or, if SHELL is undefined, the user's default shell defined in the passwd file.

This string is used by the PtTty widget to start the user's shell (see Pt_ARG_TTY_CMD and Pt_ARG_TTY_ARGV resources to PtTty).

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

[Previous] [Contents] [Index] [Next]