Developer Guide and Reference

ID 767251
Date 10/31/2024
Public
Document Table of Contents

PXFCFSETOSPEED

POSIX Subroutine: Sets the output baud rate in a termios structure. This routine is only available for Linux.

Module

USE IFPOSIX

CALL PXFCFSETOSPEED (jtermios,ispeed,ierror)

jtermios

(Input) INTEGER(4). A handle of structure termios.

ispeed

(Input) INTEGER(4). The value of the output baud rate for the structure associated with handle jtermios.

ierror

(Output) INTEGER(4). The error status.

If successful, ierror is set to zero; otherwise, an error code.

NOTE:

To get a handle for an instance of the termios structure, use PXFSTRUCTCREATE with the string 'termios' for the structure name.