|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <!-- $Revision$ --> |
3 | | -<!-- EN-Revision: 3535c3901f9e31d75d2ef3c47b9f835c79f3757a Maintainer: Luffy Status: ready --> |
| 3 | +<!-- EN-Revision: 4ac5624be0dc8484a333514b605150e73cad06b8 Maintainer: Luffy Status: ready --> |
4 | 4 | <appendix xml:id="pcntl.constants" xmlns="http://docbook.org/ns/docbook"> |
5 | 5 | &reftitle.constants; |
6 | 6 | <para> |
|
42 | 42 | </simpara> |
43 | 43 | </listitem> |
44 | 44 | </varlistentry> |
| 45 | + <varlistentry xml:id="constant.wexited"> |
| 46 | + <term> |
| 47 | + <constant>WEXITED</constant> |
| 48 | + (<type>int</type>) |
| 49 | + </term> |
| 50 | + <listitem> |
| 51 | + <simpara> |
| 52 | + </simpara> |
| 53 | + </listitem> |
| 54 | + </varlistentry> |
| 55 | + <varlistentry xml:id="constant.wstopped"> |
| 56 | + <term> |
| 57 | + <constant>WSTOPPED</constant> |
| 58 | + (<type>int</type>) |
| 59 | + </term> |
| 60 | + <listitem> |
| 61 | + <simpara> |
| 62 | + </simpara> |
| 63 | + </listitem> |
| 64 | + </varlistentry> |
| 65 | + <varlistentry xml:id="constant.wnowait"> |
| 66 | + <term> |
| 67 | + <constant>WNOWAIT</constant> |
| 68 | + (<type>int</type>) |
| 69 | + </term> |
| 70 | + <listitem> |
| 71 | + <simpara> |
| 72 | + </simpara> |
| 73 | + </listitem> |
| 74 | + </varlistentry> |
45 | 75 | </variablelist> |
46 | 76 |
|
47 | 77 | <variablelist xml:id="pcntl.constants.sig"> |
|
1138 | 1168 | </variablelist> |
1139 | 1169 |
|
1140 | 1170 | <variablelist xml:id="pcntl.constants.prio"> |
1141 | | - <title>PRIO_* constants</title> |
| 1171 | + <title>PRIO_* 常量</title> |
1142 | 1172 | <varlistentry xml:id="constant.prio-pgrp"> |
1143 | 1173 | <term> |
1144 | 1174 | <constant>PRIO_PGRP</constant> |
|
1196 | 1226 | </varlistentry> |
1197 | 1227 | </variablelist> |
1198 | 1228 | <variablelist xml:id="pcntl.constants.fork"> |
1199 | | - <title>FORK_* constants</title> |
| 1229 | + <title>FORK_* 常量</title> |
1200 | 1230 | <varlistentry xml:id="constant.fork-nosigchld"> |
1201 | 1231 | <term> |
1202 | 1232 | <constant>FORK_NOSIGCHLD</constant> |
|
1219 | 1249 | </varlistentry> |
1220 | 1250 | </variablelist> |
1221 | 1251 | <variablelist xml:id="pcntl.constants.rf"> |
1222 | | - <title>RF* constants</title> |
| 1252 | + <title>RF* 常量</title> |
1223 | 1253 | <varlistentry xml:id="constant.rfcfdg"> |
1224 | 1254 | <term> |
1225 | 1255 | <constant>RFCFDG</constant> |
|
1291 | 1321 | </listitem> |
1292 | 1322 | </varlistentry> |
1293 | 1323 | </variablelist> |
| 1324 | +<variablelist xml:id="pcntl.constants.waitid"> |
| 1325 | + <title><literal>waitid</literal>的第一个参数(<literal>idtype</literal>)</title> |
| 1326 | + <varlistentry xml:id="constant.p-all"> |
| 1327 | + <term> |
| 1328 | + <constant>P_ALL</constant> |
| 1329 | + (<type>int</type>) |
| 1330 | + </term> |
| 1331 | + <listitem> |
| 1332 | + <simpara> |
| 1333 | + 选择任何子进程。 |
| 1334 | + </simpara> |
| 1335 | + </listitem> |
| 1336 | + </varlistentry> |
| 1337 | + <varlistentry xml:id="constant.p-pid"> |
| 1338 | + <term> |
| 1339 | + <constant>P_PID</constant> |
| 1340 | + (<type>int</type>) |
| 1341 | + </term> |
| 1342 | + <listitem> |
| 1343 | + <simpara> |
| 1344 | + 按进程 ID 选择。 |
| 1345 | + </simpara> |
| 1346 | + </listitem> |
| 1347 | + </varlistentry> |
| 1348 | + <varlistentry xml:id="constant.p-pgid"> |
| 1349 | + <term> |
| 1350 | + <constant>P_PGID</constant> |
| 1351 | + (<type>int</type>) |
| 1352 | + </term> |
| 1353 | + <listitem> |
| 1354 | + <simpara> |
| 1355 | + 按进程组 ID 选择。 |
| 1356 | + </simpara> |
| 1357 | + </listitem> |
| 1358 | + </varlistentry> |
| 1359 | + <varlistentry xml:id="constant.p-pidfd"> |
| 1360 | + <term> |
| 1361 | + <constant>P_PIDFD</constant> |
| 1362 | + (<type>int</type>) |
| 1363 | + </term> |
| 1364 | + <listitem> |
| 1365 | + <simpara> |
| 1366 | + 按 PID 文件描述符选择。 |
| 1367 | + 仅适用于 Linux(自 Linux 5.4 起)。 |
| 1368 | + </simpara> |
| 1369 | + </listitem> |
| 1370 | + </varlistentry> |
| 1371 | + <varlistentry xml:id="constant.p-uid"> |
| 1372 | + <term> |
| 1373 | + <constant>P_UID</constant> |
| 1374 | + (<type>int</type>) |
| 1375 | + </term> |
| 1376 | + <listitem> |
| 1377 | + <simpara> |
| 1378 | + 按有效用户 ID 选择。 |
| 1379 | + 仅适用于 NetBSD 和 FreeBSD。 |
| 1380 | + </simpara> |
| 1381 | + </listitem> |
| 1382 | + </varlistentry> |
| 1383 | + <varlistentry xml:id="constant.p-gid"> |
| 1384 | + <term> |
| 1385 | + <constant>P_GID</constant> |
| 1386 | + (<type>int</type>) |
| 1387 | + </term> |
| 1388 | + <listitem> |
| 1389 | + <simpara> |
| 1390 | + 按有效组 ID 选择。 |
| 1391 | + 仅适用于 NetBSD 和 FreeBSD。 |
| 1392 | + </simpara> |
| 1393 | + </listitem> |
| 1394 | + </varlistentry> |
| 1395 | + <varlistentry xml:id="constant.p-sid"> |
| 1396 | + <term> |
| 1397 | + <constant>P_SID</constant> |
| 1398 | + (<type>int</type>) |
| 1399 | + </term> |
| 1400 | + <listitem> |
| 1401 | + <simpara> |
| 1402 | + 按会话 ID 选择。 |
| 1403 | + 仅适用于 NetBSD 和 FreeBSD。 |
| 1404 | + </simpara> |
| 1405 | + </listitem> |
| 1406 | + </varlistentry> |
| 1407 | + <varlistentry xml:id="constant.p-jailid"> |
| 1408 | + <term> |
| 1409 | + <constant>P_JAILID</constant> |
| 1410 | + (<type>int</type>) |
| 1411 | + </term> |
| 1412 | + <listitem> |
| 1413 | + <simpara> |
| 1414 | + 按 jail 标识符选择。 |
| 1415 | + 仅适用于 FreeBSD。 |
| 1416 | + </simpara> |
| 1417 | + </listitem> |
| 1418 | + </varlistentry> |
| 1419 | + </variablelist> |
1294 | 1420 | </appendix> |
1295 | 1421 | <!-- Keep this comment at the end of the file |
1296 | 1422 | Local variables: |
|
0 commit comments