contents.gifprev1.gifnext1.gif

SEND_EOF

Description:

SEND_EOF send end of file to a process (multi-user systems only). The SEND_EOF command has no effect on single user systems such as DOS. The process receiving the end of file character is passed as the parameter.

Syntax:

SEND_EOF (process)

Example:

The following sends an end-of-file character to the process hudson$process.

SEND_EOF (hudson$process);

Errors:

TPU$_DELETEFAIL Couldn't terminate subprocess.

TPU$_NOPROCESS Need subprocess.

TPU$_NOTMODIFIABLE Output buffer is READ_ONLY.

TPU$_SENDFAIL Subprocess would not read data.

Related Builtins:

CALL_USER

SEND

SPAWN