Developer Guide and Reference

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

PXFCFGETOSPEED

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

Module

USE IFPOSIX

CALL PXFCFGETOSPEED (jtermios,iospeed,ierror)

jtermios

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

iospeed

(Output) INTEGER(4). The returned value of the output baud rate from 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.