From 49c677a66308543e0afdb756c8ffedd31ccea0e4 Mon Sep 17 00:00:00 2001 From: scream3r Date: Thu, 18 Apr 2013 09:44:30 +0400 Subject: [PATCH] Expanded javadoc for native openPort() method --- src/java/jssc/SerialNativeInterface.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/java/jssc/SerialNativeInterface.java b/src/java/jssc/SerialNativeInterface.java index 59d312c..51b37f8 100644 --- a/src/java/jssc/SerialNativeInterface.java +++ b/src/java/jssc/SerialNativeInterface.java @@ -258,6 +258,10 @@ public class SerialNativeInterface { * Open port * * @param portName name of port for opening + * @param useTIOCEXCL enable/disable using of TIOCEXCL. Take effect only on *nix based systems. + * Ignored if invokedByPortList == true, and always igored on Windows + * @param invokedByPortList if true - open port only for checking handle, not for working. + * Take effect only on *nix based systems. If invokedByPortList == true value of useTIOCEXCL will be ignored * * @return handle of opened port or -1 if opening of the port was unsuccessful */