Expanded javadoc for native openPort() method

This commit is contained in:
scream3r 2013-04-18 09:44:30 +04:00
parent 6d542e09a1
commit 49c677a663
1 changed files with 4 additions and 0 deletions

View File

@ -258,6 +258,10 @@ public class SerialNativeInterface {
* Open port * Open port
* *
* @param portName name of port for opening * @param portName name of port for opening
* @param useTIOCEXCL enable/disable using of <b>TIOCEXCL</b>. Take effect only on *nix based systems.
* Ignored if invokedByPortList == true, and always igored on Windows
* @param invokedByPortList if <b>true</b> - open port only for checking handle, not for working.
* Take effect only on *nix based systems. If invokedByPortList == true value of <b>useTIOCEXCL</b> will be ignored
* *
* @return handle of opened port or -1 if opening of the port was unsuccessful * @return handle of opened port or -1 if opening of the port was unsuccessful
*/ */