DeviceStreams

DeviceStreams[device]

给出与设备相关联的所有开放式流列表.

DeviceStreams[device,patt]

给出名称与字符串模式 patt 匹配的流列表.

DeviceStreams[device,{patt1,patt2,}]

给出名称与任何 patti 匹配的流列表.

更多信息

范例

打开所有单元关闭所有单元

基本范例  (2)

打开一个演示设备,并列出其开放流:

根据模式查找流:

根据模式列表查找流:

从与设备关联的输入流读取字节列表:

关闭设备:

属性和关系  (1)

与设备关联的输入和输出流被包括在 Streams 中:

DeviceClose 关闭所有进出该设备的流:

Wolfram Research (2014),DeviceStreams,Wolfram 语言函数,https://reference.wolfram.com/language/ref/DeviceStreams.html.

文本

Wolfram Research (2014),DeviceStreams,Wolfram 语言函数,https://reference.wolfram.com/language/ref/DeviceStreams.html.

CMS

Wolfram 语言. 2014. "DeviceStreams." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/DeviceStreams.html.

APA

Wolfram 语言. (2014). DeviceStreams. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/DeviceStreams.html 年

BibTeX

@misc{reference.wolfram_2024_devicestreams, author="Wolfram Research", title="{DeviceStreams}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/DeviceStreams.html}", note=[Accessed: 18-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_devicestreams, organization={Wolfram Research}, title={DeviceStreams}, year={2014}, url={https://reference.wolfram.com/language/ref/DeviceStreams.html}, note=[Accessed: 18-November-2024 ]}