rtIOStreamClose
关闭通讯渠道
说明
示例
关闭通讯渠道
来自 rtiostreamtest.c
的代码在关闭通信通道时检测到错误。
static int closeServer(void) { const int errorOccurred = rtIOStreamClose(streamID); if (errorOccurred == RTIOSTREAM_ERROR) { return errorOccurred; } return RTIOSTREAM_NO_ERROR; }
输入参数
输出参量
版本历史记录
在 R2009a 中推出