udfOpenPipe()
Open a pipe to an external program.
Syntax
udfOpenPipe( udfHd, command ) ;
Type
AcuSolve User-Defined Function Client
Parameters
- udfHd
- The opaque handle (pointer) which was passed to the user function.
- command (string)
- Name and arguments of the external program.
Return Value
None
Description
This routine opens a client/server pipe to an external program, given by command. The external
program must use the standard read/write calls to
receive/send ASCII
data. For
example,
udfOpenPipe( udfHd, "rsh pelican usrPres.pl 4 1 0" ) ;
Errors
- This routine expects a valid udfHd.
- May only be called from a multiplier function or mesh motion user-defined function.