| aStream_CreateSerial | Index |
Definition:
| aLIBRETURN aStream_CreateSerial( | aIOLib ioRef, const char* pPortName, const unsigned int baudRate, aStreamRef* pStreamRef, aErr* pErr); |
Parameters:
| ioRef | - | A reference to the aIO library used to create the stream. |
| pPortName | - | The null-terminated C-style string that designates the serial port to use. This port name depends on the platform. The platform-specific port names are listed in the Platform Specifics section of the Overview. |
| baudRate | - | This number designates at what speed the serial port will run. The accepted speeds are listed below. |
| pStreamRef | - | A pointer to a stream reference that is set to the newly created file stream. Serial port streams are readable and writeable. |
| pErr | - | A pointer to an aErr variable that receives the error code on exit from this routine. |
Return Value:
Description:
Related: