_CP_pick_env sets the application to a standard D3 environment. When using this setting, all terminal input and output must be done via D3 routines only (execute, print, crt). The default environment after logging on to D3 is _CP_pick_env.
Syntax
int _CP_pick_env() |
Description
This function returns -1 if an error occurs. The error code is contained in _CP_errno.
NOTE |
UNIX routines that output to the screen, such as system() or printf(), will not print correctly when in _CP_pick_env(). To use these calls, the user must switch to _CP_unix_env(). |
This function requires considerable amounts of CPU.
Example(s)
_CP_pick_env(); |
See Also