[Ttssh2-commit] [4905] timeout 引数について説明を追加した。

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2012年 4月 19日 (木) 23:25:13 JST


Revision: 4905
          http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=4905
Author:   yutakapon
Date:     2012-04-19 23:25:13 +0900 (Thu, 19 Apr 2012)
Log Message:
-----------
timeout 引数について説明を追加した。

Modified Paths:
--------------
    trunk/doc/en/html/macro/command/filelock.html
    trunk/doc/ja/html/macro/command/filelock.html

-------------- next part --------------
Modified: trunk/doc/en/html/macro/command/filelock.html
===================================================================
--- trunk/doc/en/html/macro/command/filelock.html	2012-04-18 16:49:14 UTC (rev 4904)
+++ trunk/doc/en/html/macro/command/filelock.html	2012-04-19 14:25:13 UTC (rev 4905)
@@ -25,10 +25,29 @@
 
 <p>
 Locks the specified whole file for exclusive access by the calling process. <br>
-The filelock command will wait until the file is unlocked. However, the command will time out
-at the &lt;timeout&gt; value when the argument is specified.
+The &lt;timeout&gt; argument is described below.
 </p>
 
+<table>
+ <tr>
+  <th><b>&lt;timeout&gt;</b></th>
+  <td><b>Description</b></td>
+ </tr>
+ <tr>
+  <th>0</th>
+  <td>Returns quickly the error when the file is already locked.</td>
+ </tr>
+ <tr>
+  <th>Abbreviation</th>
+  <td>Returns only when the file is unlocked.</td>
+ </tr>
+ <tr>
+  <th>Value</th>
+  <td>Waits until the file is unlocked or the time-out interval(in seconds) elapses. 
+      Returns the error when the time-out interval elapsed.</td>
+ </tr>
+</table>
+
 <p>
 If the function succeeds, the result variable is 0.<br>
 If the function fails, the result variable is 1.

Modified: trunk/doc/ja/html/macro/command/filelock.html
===================================================================
--- trunk/doc/ja/html/macro/command/filelock.html	2012-04-18 16:49:14 UTC (rev 4904)
+++ trunk/doc/ja/html/macro/command/filelock.html	2012-04-19 14:25:13 UTC (rev 4905)
@@ -26,10 +26,28 @@
 <p>
 \x82\xB7\x82łɊJ\x82\xA2\x82Ă\xA2\x82\xE9\x83t\x83@\x83C\x83\x8B\x83n\x83\x93\x83h\x83\x8B &lt;file handle&gt; \x82\xF0\x8Ew\x92肷\x82\xE9\x82ƁA\x83t\x83@\x83C\x83\x8B\x91S\x91̂\xF0\x83\x8D\x83b\x83N\x82\xB7\x82\xE9\x81B
 \x83\x8D\x83b\x83N\x92\x86\x81A\x91\xBC\x82̃v\x83\x8D\x83Z\x83X\x82\xA9\x82\xE7\x82̓\x96\x8AY\x83t\x83@\x83C\x83\x8B\x82ւ̃A\x83N\x83Z\x83X\x82̓G\x83\x89\x81[\x82ƂȂ\xE9\x81B<br>
-filelock\x93\xAF\x8Em\x82ł\xA0\x82\xEA\x82΁A\x83t\x83@\x83C\x83\x8B\x82̃\x8D\x83b\x83N\x82\xAA\x89\xF0\x8F\x9C\x82\xB3\x82\xEA\x82\xE9\x82܂ő҂B\x88\xF8\x90\x94 &lt;timeout&gt; \x82̎w\x92肪\x82\xA0\x82\xEA\x82΁A
-\x8Ew\x92莞\x8Aԁi\x95b\x81j\x8Dő\xE5\x91҂B
+\x88\xF8\x90\x94 &lt;timeout&gt; \x82̈Ӗ\xA1\x82ɂ‚\xA2\x82Ă͉\xBA\x8BL\x82̂Ƃ\xA8\x82\xE8\x81B
 </p>
 
+<table>
+ <tr>
+  <th><b>&lt;timeout&gt;</b></th>
+  <td><b>\x90\xE0\x96\xBE</b></td>
+ </tr>
+ <tr>
+  <th>0</th>
+  <td>\x83t\x83@\x83C\x83\x8B\x82\xAA\x82\xB7\x82łɃ\x8D\x83b\x83N\x82\xB3\x82\xEA\x82Ă\xA2\x82\xBD\x82\xE7\x81A\x91\xA6\x8D\xC0\x82ɃG\x83\x89\x81[\x82\xF0\x95Ԃ\xB7\x81B</td>
+ </tr>
+ <tr>
+  <th>\x8Fȗ\xAA</th>
+  <td>\x83t\x83@\x83C\x83\x8B\x82\xAA\x82\xB7\x82łɃ\x8D\x83b\x83N\x82\xB3\x82\xEA\x82Ă\xA2\x82\xBD\x82\xE7\x81A\x89\xF0\x8F\x9C\x82\xB3\x82\xEA\x82\xE9\x82܂Ŗ\xB3\x8C\xC0\x82ɑ҂B</td>
+ </tr>
+ <tr>
+  <th>Value</th>
+  <td>\x83t\x83@\x83C\x83\x8B\x82\xAA\x82\xB7\x82łɃ\x8D\x83b\x83N\x82\xB3\x82\xEA\x82Ă\xA2\x82\xBD\x82\xE7\x81A\x89\xF0\x8F\x9C\x82\xB3\x82\xEA\x82\xE9\x82܂ōő\xE5 Value \x95b\x91҂B\x83^\x83C\x83\x80\x83A\x83E\x83g\x82\xB5\x82\xBD\x82\xE7\x83G\x83\x89\x81[\x82\xF0\x95Ԃ\xB7\x81B</td>
+ </tr>
+</table>
+
 <p>
 \x83\x8D\x83b\x83N\x82ɐ\xAC\x8C\x{1C2DC2}\xE9\x82\xC6 result \x95ϐ\x94\x82\xAA 0 \x82ɁA\x8E\xB8\x94s\x82\xB7\x82\xE9\x82\xC6 1 \x82ƂȂ\xE9\x81B
 </p>



Ttssh2-commit メーリングリストの案内
Back to archive index