Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pt/ptfepcmd.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pt/ptfepcmd.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pt/ptfepcmd.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pt/ptfepcmd.html on line 8

PtFepCmd()

Control a Front-End Processor (FEP) from an application

Synopsis:

int PtFepCmd( PtWidget_t *widget,
              long cmd,
              long sub_cmd,
              char const *data );

Arguments:

widget
A pointer to the widget on which you want any text-input boxes to appear.
cmd
The command that you want to send to the FEP; one of:
sub_cmd
Not currently used; set this argument to 0.
data
A pointer to any extra data that the specific command needs.

Library:

ph

Description:

PtFepCmd() lets you control a Photon front-end processor (FEP) from an application. This function lets you create your own front-end processor that includes all of the functionality of the GUI versions of the FEPs.

To use this function, start the FEP with the -h option to suppress the GUI interface. For more information, see the documentation for cpim and vpim.

Returns:

0
Success.
-1
An error occurred.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

cpim, vpim


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pt/ptfepcmd.html on line 161

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pt/ptfepcmd.html on line 161