@@ -14,7 +14,7 @@ msgid ""
1414msgstr ""
1515"Project-Id-Version : Python 3.8\n "
1616"Report-Msgid-Bugs-To : \n "
17- "POT-Creation-Date : 2020-02-09 12:40 +0000\n "
17+ "POT-Creation-Date : 2020-02-13 12:43 +0000\n "
1818"PO-Revision-Date : 2017-02-16 23:10+0000\n "
1919"Last-Translator : tomo, 2017\n "
2020"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -102,13 +102,19 @@ msgstr ""
102102msgid "If the :c:func:`fcntl` fails, an :exc:`OSError` is raised."
103103msgstr ":c:func:`fcntl` が失敗した場合、 :exc:`OSError` が送出されます。"
104104
105- #: ../../library/fcntl.rst:63
105+ #: ../../library/fcntl.rst:60
106+ msgid ""
107+ "Raises an :ref:`auditing event <auditing>` ``fcntl.fcntl`` with arguments "
108+ "``fd``, ``cmd``, ``arg``."
109+ msgstr ""
110+
111+ #: ../../library/fcntl.rst:65
106112msgid ""
107113"This function is identical to the :func:`~fcntl.fcntl` function, except that"
108114" the argument handling is even more complicated."
109115msgstr "この関数は :func:`~fcntl.fcntl` 関数と同じですが、引数の扱いがより複雑であるところが異なります。"
110116
111- #: ../../library/fcntl.rst:66
117+ #: ../../library/fcntl.rst:68
112118msgid ""
113119"The *request* parameter is limited to values that can fit in 32-bits. "
114120"Additional constants of interest for use as the *request* argument can be "
@@ -118,7 +124,7 @@ msgstr ""
118124"パラメータ *request* は32ビットに収まる値に制限されます。 *request* 引数として使うのに関係のある追加の定数は "
119125":mod:`termios` モジュールにあり、関連する C ヘッダファイルで使われているのと同じ名前が付けられています。"
120126
121- #: ../../library/fcntl.rst:71
127+ #: ../../library/fcntl.rst:73
122128msgid ""
123129"The parameter *arg* can be one of an integer, an object supporting the read-"
124130"only buffer interface (like :class:`bytes`) or an object supporting the "
@@ -127,19 +133,19 @@ msgstr ""
127133"パラメタ *arg* は、整数、 (:class:`bytes` のような) "
128134"読み出し専用のバッファインタフェースをサポートするオブジェクト、読み書きバッファインタフェースをサポートするオブジェクトのどれかです。"
129135
130- #: ../../library/fcntl.rst:75
136+ #: ../../library/fcntl.rst:77
131137msgid ""
132138"In all but the last case, behaviour is as for the :func:`~fcntl.fcntl` "
133139"function."
134140msgstr "最後の型のオブジェクトを除き、動作は :func:`~fcntl.fcntl` 関数と同じです。"
135141
136- #: ../../library/fcntl.rst:78
142+ #: ../../library/fcntl.rst:80
137143msgid ""
138144"If a mutable buffer is passed, then the behaviour is determined by the value"
139145" of the *mutate_flag* parameter."
140146msgstr "可変なバッファが渡された場合、動作は *mutate_flag* 引数の値で決定されます。"
141147
142- #: ../../library/fcntl.rst:81
148+ #: ../../library/fcntl.rst:83
143149msgid ""
144150"If it is false, the buffer's mutability is ignored and behaviour is as for a"
145151" read-only buffer, except that the 1024 byte limit mentioned above is "
@@ -149,7 +155,7 @@ msgstr ""
149155"この値が偽の場合、バッファの可変性は無視され、読み出し専用バッファの場合と同じ動作になりますが、上で述べた 1024 バイトの制限は回避されます -- "
150156"従って、オペレーティングシステムが希望するバッファ長までであれば正しく動作します。"
151157
152- #: ../../library/fcntl.rst:86
158+ #: ../../library/fcntl.rst:88
153159msgid ""
154160"If *mutate_flag* is true (the default), then the buffer is (in effect) "
155161"passed to the underlying :func:`ioctl` system call, the latter's return code"
@@ -164,15 +170,21 @@ msgstr ""
164170"の動作を反映します。この説明はやや単純化されています。というのは、与えられたバッファが 1024 バイト長よりも短い場合、バッファはまず 1024 "
165171"バイト長の静的なバッファにコピーされてから :func:`ioctl` に渡され、その後引数で与えたバッファに戻しコピーされるからです。"
166172
167- #: ../../library/fcntl.rst:94
173+ #: ../../library/fcntl.rst:96
168174msgid "If the :c:func:`ioctl` fails, an :exc:`OSError` exception is raised."
169175msgstr ":c:func:`ioctl` が失敗すると、 :exc:`OSError` 例外が送出されます。"
170176
171- #: ../../library/fcntl.rst:96
177+ #: ../../library/fcntl.rst:98
172178msgid "An example::"
173179msgstr "以下に例を示します::"
174180
175- #: ../../library/fcntl.rst:112
181+ #: ../../library/fcntl.rst:111
182+ msgid ""
183+ "Raises an :ref:`auditing event <auditing>` ``fcntl.ioctl`` with arguments "
184+ "``fd``, ``request``, ``arg``."
185+ msgstr ""
186+
187+ #: ../../library/fcntl.rst:116
176188msgid ""
177189"Perform the lock operation *operation* on file descriptor *fd* (file objects"
178190" providing a :meth:`~io.IOBase.fileno` method are accepted as well). See the"
@@ -183,31 +195,37 @@ msgstr ""
183195"*operation* を実行します。 詳細は Unix マニュアルの :manpage:`flock(2)` を参照してください "
184196"(システムによっては、この関数は :c:func:`fcntl` を使ってエミュレーションされています)。"
185197
186- #: ../../library/fcntl.rst:117
198+ #: ../../library/fcntl.rst:121
187199msgid "If the :c:func:`flock` fails, an :exc:`OSError` exception is raised."
188200msgstr ":c:func:`flock` が失敗すると、 :exc:`OSError` 例外が送出されます。"
189201
190- #: ../../library/fcntl.rst:122
202+ #: ../../library/fcntl.rst:123
203+ msgid ""
204+ "Raises an :ref:`auditing event <auditing>` ``fcntl.flock`` with arguments "
205+ "``fd``, ``operation``."
206+ msgstr ""
207+
208+ #: ../../library/fcntl.rst:128
191209msgid ""
192210"This is essentially a wrapper around the :func:`~fcntl.fcntl` locking calls."
193211" *fd* is the file descriptor (file objects providing a "
194212":meth:`~io.IOBase.fileno` method are accepted as well) of the file to lock "
195213"or unlock, and *cmd* is one of the following values:"
196214msgstr ""
197215
198- #: ../../library/fcntl.rst:127
216+ #: ../../library/fcntl.rst:133
199217msgid ":const:`LOCK_UN` -- unlock"
200218msgstr ":const:`LOCK_UN` -- アンロック"
201219
202- #: ../../library/fcntl.rst:128
220+ #: ../../library/fcntl.rst:134
203221msgid ":const:`LOCK_SH` -- acquire a shared lock"
204222msgstr ":const:`LOCK_SH` -- 共有ロックを取得"
205223
206- #: ../../library/fcntl.rst:129
224+ #: ../../library/fcntl.rst:135
207225msgid ":const:`LOCK_EX` -- acquire an exclusive lock"
208226msgstr ":const:`LOCK_EX` -- 排他的ロックを取得"
209227
210- #: ../../library/fcntl.rst:131
228+ #: ../../library/fcntl.rst:137
211229msgid ""
212230"When *cmd* is :const:`LOCK_SH` or :const:`LOCK_EX`, it can also be bitwise "
213231"ORed with :const:`LOCK_NB` to avoid blocking on lock acquisition. If "
@@ -225,7 +243,7 @@ msgstr ""
225243"可搬性のため、両方の値をチェックしてください)。少なくともいくつかのシステムでは、ファイル記述子が参照しているファイルが書き込みのために開かれている場合、"
226244" :const:`LOCK_EX` だけしか使うことができません。"
227245
228- #: ../../library/fcntl.rst:140
246+ #: ../../library/fcntl.rst:146
229247msgid ""
230248"*len* is the number of bytes to lock, *start* is the byte offset at which "
231249"the lock starts, relative to *whence*, and *whence* is as with "
@@ -234,20 +252,20 @@ msgstr ""
234252"*len* はロックを行いたいバイト数、 *start* はロック領域先頭の *whence* からの相対的なバイトオフセット、 *whence* は "
235253":func:`io.IOBase.seek` と同じで、具体的には:"
236254
237- #: ../../library/fcntl.rst:144
255+ #: ../../library/fcntl.rst:150
238256msgid ":const:`0` -- relative to the start of the file (:data:`os.SEEK_SET`)"
239257msgstr ":const:`0` -- ファイル先頭からの相対位置 (:data:`os.SEEK_SET`)"
240258
241- #: ../../library/fcntl.rst:145
259+ #: ../../library/fcntl.rst:151
242260msgid ""
243261":const:`1` -- relative to the current buffer position (:data:`os.SEEK_CUR`)"
244262msgstr ":const:`1` -- 現在のバッファ位置からの相対位置 (:data:`os.SEEK_CUR`)"
245263
246- #: ../../library/fcntl.rst:146
264+ #: ../../library/fcntl.rst:152
247265msgid ":const:`2` -- relative to the end of the file (:data:`os.SEEK_END`)"
248266msgstr ":const:`2` -- ファイルの末尾からの相対位置 (:data:`os.SEEK_END`)"
249267
250- #: ../../library/fcntl.rst:148
268+ #: ../../library/fcntl.rst:154
251269msgid ""
252270"The default for *start* is 0, which means to start at the beginning of the "
253271"file. The default for *len* is 0 which means to lock to the end of the file."
@@ -256,11 +274,17 @@ msgstr ""
256274"*start* の標準の値は 0 で、ファイルの先頭から開始することを意味します。*len* の標準の値は 0 "
257275"で、ファイルの終了までロックすることを表します。*whence* の標準の値も 0 です。"
258276
259- #: ../../library/fcntl.rst:152
277+ #: ../../library/fcntl.rst:158
278+ msgid ""
279+ "Raises an :ref:`auditing event <auditing>` ``fcntl.lockf`` with arguments "
280+ "``fd``, ``cmd``, ``len``, ``start``, ``whence``."
281+ msgstr ""
282+
283+ #: ../../library/fcntl.rst:160
260284msgid "Examples (all on a SVR4 compliant system)::"
261285msgstr "以下に (全ての SVR4 互換システムでの) 例を示します::"
262286
263- #: ../../library/fcntl.rst:162
287+ #: ../../library/fcntl.rst:170
264288msgid ""
265289"Note that in the first example the return value variable *rv* will hold an "
266290"integer value; in the second example it will hold a :class:`bytes` object. "
@@ -270,11 +294,11 @@ msgstr ""
270294"最初の例では、戻り値 *rv* は整数値を保持しています; 二つ目の例では :class:`bytes` オブジェクトを保持しています。 "
271295"*lockdata* 変数の構造体レイアウトはシステム依存です --- 従って :func:`flock` を呼ぶ方が良いでしょう。"
272296
273- #: ../../library/fcntl.rst:173
297+ #: ../../library/fcntl.rst:181
274298msgid "Module :mod:`os`"
275299msgstr ":mod:`os` モジュール"
276300
277- #: ../../library/fcntl.rst:171
301+ #: ../../library/fcntl.rst:179
278302msgid ""
279303"If the locking flags :data:`~os.O_SHLOCK` and :data:`~os.O_EXLOCK` are "
280304"present in the :mod:`os` module (on BSD only), the :func:`os.open` function "
0 commit comments