|
PHP5中文手册
dio_tcsetattr(PHP 4 >= 4.3.0, PHP 5 <= 5.0.5) dio_tcsetattr — Sets terminal attributes and baud rate for a serial port 说明
bool dio_tcsetattr
( resource $fd
, array $options
)
dio_tcsetattr() sets the terminal attributes and baud rate of the open fd .
参数
返回值无返回值。 范例
Example#1 Setting the baud rate on a serial port
<?php |