note 34250 added to function.dio-tcsetattr
| From: | healer at colorado dot edu | Date: | Sat, 19 Jul 2003 20:37:50 +0000 |
| Subject: | note 34250 added to function.dio-tcsetattr | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-52394@lists.php.net to get a copy of this message | ||
It was frustrating at first because I was trying to get my Linux box to talk to an external serial
device (a PIC18F452 programmable chip) and the example provided here refers to fcntl() and open()
parameters that aren't in the PHP documentation.
I finally found out what does what through the man pages:
man open
man fcntl
still haven't gotten it to work, or how to reset the ttySx, but thought it may help someone...
----
Manual Page -- http://www.php.net/manual/en/function.dio-tcsetattr.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34250
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34250&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34250&report=yes