|
|
DataMuseum.dkPresents historical artifacts from the history of: RC9000 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about RC9000 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - downloadIndex: g
Length: 4395 (0x112b)
Names: »getpriority.2«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./bsd/usr/man/cat2/getpriority.2«
0x0000…0020 0a 0a 0a 5f 08 4f 5f 08 6e 5f 08 6c 5f 08 69 5f 08 6e 5f 08 65 20 5f 08 4d 5f 08 61 5f 08 6e 5f ┆ _ O_ n_ l_ i_ n_ e _ M_ a_ n_┆ 0x0020…0040 08 75 5f 08 61 5f 08 6c 20 20 20 20 20 20 20 20 20 20 20 20 20 53 79 73 74 65 6d 20 43 61 6c 6c ┆ u_ a_ l System Call┆ 0x0040…0060 73 20 20 20 20 20 20 20 20 20 20 20 20 20 67 65 74 70 72 69 6f 72 69 74 79 28 32 29 0a 0a 0a 0a ┆s getpriority(2) ┆ 0x0060…0080 4e 08 4e 08 4e 08 4e 41 08 41 08 41 08 41 4d 08 4d 08 4d 08 4d 45 08 45 08 45 08 45 0a 20 20 20 ┆N N N NA A A AM M M ME E E E ┆ 0x0080…00a0 20 20 67 65 74 70 72 69 6f 72 69 74 79 2c 20 73 65 74 70 72 69 6f 72 69 74 79 20 2d 20 67 65 74 ┆ getpriority, setpriority - get┆ 0x00a0…00c0 2f 73 65 74 20 70 72 6f 67 72 61 6d 20 73 63 68 65 64 75 6c 69 6e 67 20 70 72 69 6f 72 2d 0a 20 ┆/set program scheduling prior- ┆ 0x00c0…00e0 20 20 20 20 69 74 79 0a 0a 53 08 53 08 53 08 53 59 08 59 08 59 08 59 4e 08 4e 08 4e 08 4e 54 08 ┆ ity S S S SY Y Y YN N N NT ┆ 0x00e0…0100 54 08 54 08 54 41 08 41 08 41 08 41 58 08 58 08 58 08 58 0a 20 20 20 20 20 23 08 23 08 23 08 23 ┆T T TA A A AX X X X # # # #┆ 0x0100…0120 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 63 08 63 08 63 08 63 6c 08 6c 08 6c 08 6c 75 08 75 08 ┆i i i in n n nc c c cl l l lu u ┆ 0x0120…0140 75 08 75 64 08 64 08 64 08 64 65 08 65 08 65 08 65 20 3c 08 3c 08 3c 08 3c 73 08 73 08 73 08 73 ┆u ud d d de e e e < < < <s s s s┆ 0x0140…0160 79 08 79 08 79 08 79 73 08 73 08 73 08 73 2f 08 2f 08 2f 08 2f 72 08 72 08 72 08 72 65 08 65 08 ┆y y y ys s s s/ / / /r r r re e ┆ 0x0160…0180 65 08 65 73 08 73 08 73 08 73 6f 08 6f 08 6f 08 6f 75 08 75 08 75 08 75 72 08 72 08 72 08 72 63 ┆e es s s so o o ou u u ur r r rc┆ 0x0180…01a0 08 63 08 63 08 63 65 08 65 08 65 08 65 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e 08 3e 08 3e ┆ c c ce e e e. . . .h h h h> > >┆ 0x01a0…01c0 08 3e 0a 0a 20 20 20 20 20 23 08 23 08 23 08 23 64 08 64 08 64 08 64 65 08 65 08 65 08 65 66 08 ┆ > # # # #d d d de e e ef ┆ 0x01c0…01e0 66 08 66 08 66 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 65 08 65 08 65 08 65 20 50 08 50 08 50 ┆f f fi i i in n n ne e e e P P P┆ 0x01e0…0200 08 50 52 08 52 08 52 08 52 49 08 49 08 49 08 49 4f 08 4f 08 4f 08 4f 5f 08 5f 08 5f 08 5f 50 08 ┆ PR R R RI I I IO O O O_ _ _ _P ┆ 0x0200…0220 50 08 50 08 50 52 08 52 08 52 08 52 4f 08 4f 08 4f 08 4f 43 08 43 08 43 08 43 45 08 45 08 45 08 ┆P P PR R R RO O O OC C C CE E E ┆ 0x0220…0240 45 53 08 53 08 53 08 53 53 08 53 08 53 08 53 20 20 20 20 20 20 20 20 20 20 30 08 30 08 30 08 30 ┆ES S S SS S S S 0 0 0 0┆ 0x0240…0260 20 20 20 20 2f 08 2f 08 2f 08 2f 2a 08 2a 08 2a 08 2a 20 70 08 70 08 70 08 70 72 08 72 08 72 08 ┆ / / / /* * * * p p p pr r r ┆ 0x0260…0280 72 6f 08 6f 08 6f 08 6f 63 08 63 08 63 08 63 65 08 65 08 65 08 65 73 08 73 08 73 08 73 73 08 73 ┆ro o o oc c c ce e e es s s ss s┆ 0x0280…02a0 08 73 08 73 20 2a 08 2a 08 2a 08 2a 2f 08 2f 08 2f 08 2f 0a 20 20 20 20 20 23 08 23 08 23 08 23 ┆ s s * * * */ / / / # # # #┆ 0x02a0…02c0 64 08 64 08 64 08 64 65 08 65 08 65 08 65 66 08 66 08 66 08 66 69 08 69 08 69 08 69 6e 08 6e 08 ┆d d d de e e ef f f fi i i in n ┆ 0x02c0…02e0 6e 08 6e 65 08 65 08 65 08 65 20 50 08 50 08 50 08 50 52 08 52 08 52 08 52 49 08 49 08 49 08 49 ┆n ne e e e P P P PR R R RI I I I┆ 0x02e0…0300 4f 08 4f 08 4f 08 4f 5f 08 5f 08 5f 08 5f 50 08 50 08 50 08 50 47 08 47 08 47 08 47 52 08 52 08 ┆O O O O_ _ _ _P P P PG G G GR R ┆ 0x0300…0320 52 08 52 50 08 50 08 50 08 50 20 20 20 20 20 20 20 20 31 08 31 08 31 08 31 20 20 20 20 2f 08 2f ┆R RP P P P 1 1 1 1 / /┆ 0x0320…0340 08 2f 08 2f 2a 08 2a 08 2a 08 2a 20 70 08 70 08 70 08 70 72 08 72 08 72 08 72 6f 08 6f 08 6f 08 ┆ / /* * * * p p p pr r r ro o o ┆ 0x0340…0360 6f 63 08 63 08 63 08 63 65 08 65 08 65 08 65 73 08 73 08 73 08 73 73 08 73 08 73 08 73 20 67 08 ┆oc c c ce e e es s s ss s s s g ┆ 0x0360…0380 67 08 67 08 67 72 08 72 08 72 08 72 6f 08 6f 08 6f 08 6f 75 08 75 08 75 08 75 70 08 70 08 70 08 ┆g g gr r r ro o o ou u u up p p ┆ 0x0380…03a0 70 20 2a 08 2a 08 2a 08 2a 2f 08 2f 08 2f 08 2f 0a 20 20 20 20 20 23 08 23 08 23 08 23 64 08 64 ┆p * * * */ / / / # # # #d d┆ 0x03a0…03c0 08 64 08 64 65 08 65 08 65 08 65 66 08 66 08 66 08 66 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e ┆ d de e e ef f f fi i i in n n n┆ 0x03c0…03e0 65 08 65 08 65 08 65 20 50 08 50 08 50 08 50 52 08 52 08 52 08 52 49 08 49 08 49 08 49 4f 08 4f ┆e e e e P P P PR R R RI I I IO O┆ 0x03e0…0400 08 4f 08 4f 5f 08 5f 08 5f 08 5f 55 08 55 08 55 08 55 53 08 53 08 53 08 53 45 08 45 08 45 08 45 ┆ O O_ _ _ _U U U US S S SE E E E┆ 0x0400…0420 52 08 52 08 52 08 52 20 20 20 20 20 20 20 20 32 08 32 08 32 08 32 20 20 20 20 2f 08 2f 08 2f 08 ┆R R R R 2 2 2 2 / / / ┆ 0x0420…0440 2f 2a 08 2a 08 2a 08 2a 20 75 08 75 08 75 08 75 73 08 73 08 73 08 73 65 08 65 08 65 08 65 72 08 ┆/* * * * u u u us s s se e e er ┆ 0x0440…0460 72 08 72 08 72 20 69 08 69 08 69 08 69 64 08 64 08 64 08 64 20 2a 08 2a 08 2a 08 2a 2f 08 2f 08 ┆r r r i i i id d d d * * * */ / ┆ 0x0460…0480 2f 08 2f 0a 0a 20 20 20 20 20 70 08 70 08 70 08 70 72 08 72 08 72 08 72 69 08 69 08 69 08 69 6f ┆/ / p p p pr r r ri i i io┆ 0x0480…04a0 08 6f 08 6f 08 6f 20 3d 08 3d 08 3d 08 3d 20 67 08 67 08 67 08 67 65 08 65 08 65 08 65 74 08 74 ┆ o o o = = = = g g g ge e e et t┆ 0x04a0…04c0 08 74 08 74 70 08 70 08 70 08 70 72 08 72 08 72 08 72 69 08 69 08 69 08 69 6f 08 6f 08 6f 08 6f ┆ t tp p p pr r r ri i i io o o o┆ 0x04c0…04e0 72 08 72 08 72 08 72 69 08 69 08 69 08 69 74 08 74 08 74 08 74 79 08 79 08 79 08 79 28 08 28 08 ┆r r r ri i i it t t ty y y y( ( ┆ 0x04e0…0500 28 08 28 77 08 77 08 77 08 77 68 08 68 08 68 08 68 69 08 69 08 69 08 69 63 08 63 08 63 08 63 68 ┆( (w w w wh h h hi i i ic c c ch┆ 0x0500…0520 08 68 08 68 08 68 2c 08 2c 08 2c 08 2c 20 77 08 77 08 77 08 77 68 08 68 08 68 08 68 6f 08 6f 08 ┆ h h h, , , , w w w wh h h ho o ┆ 0x0520…0540 6f 08 6f 29 08 29 08 29 08 29 0a 20 20 20 20 20 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 ┆o o) ) ) ) i i i in n n nt ┆ 0x0540…0560 74 08 74 08 74 20 70 08 70 08 70 08 70 72 08 72 08 72 08 72 69 08 69 08 69 08 69 6f 08 6f 08 6f ┆t t t p p p pr r r ri i i io o o┆ 0x0560…0580 08 6f 2c 08 2c 08 2c 08 2c 20 77 08 77 08 77 08 77 68 08 68 08 68 08 68 69 08 69 08 69 08 69 63 ┆ o, , , , w w w wh h h hi i i ic┆ 0x0580…05a0 08 63 08 63 08 63 68 08 68 08 68 08 68 2c 08 2c 08 2c 08 2c 20 77 08 77 08 77 08 77 68 08 68 08 ┆ c c ch h h h, , , , w w w wh h ┆ 0x05a0…05c0 68 08 68 6f 08 6f 08 6f 08 6f 3b 08 3b 08 3b 08 3b 0a 0a 20 20 20 20 20 73 08 73 08 73 08 73 65 ┆h ho o o o; ; ; ; s s s se┆ 0x05c0…05e0 08 65 08 65 08 65 74 08 74 08 74 08 74 70 08 70 08 70 08 70 72 08 72 08 72 08 72 69 08 69 08 69 ┆ e e et t t tp p p pr r r ri i i┆ 0x05e0…0600 08 69 6f 08 6f 08 6f 08 6f 72 08 72 08 72 08 72 69 08 69 08 69 08 69 74 08 74 08 74 08 74 79 08 ┆ io o o or r r ri i i it t t ty ┆ 0x0600…0620 79 08 79 08 79 28 08 28 08 28 08 28 77 08 77 08 77 08 77 68 08 68 08 68 08 68 69 08 69 08 69 08 ┆y y y( ( ( (w w w wh h h hi i i ┆ 0x0620…0640 69 63 08 63 08 63 08 63 68 08 68 08 68 08 68 2c 08 2c 08 2c 08 2c 20 77 08 77 08 77 08 77 68 08 ┆ic c c ch h h h, , , , w w w wh ┆ 0x0640…0660 68 08 68 08 68 6f 08 6f 08 6f 08 6f 2c 08 2c 08 2c 08 2c 20 70 08 70 08 70 08 70 72 08 72 08 72 ┆h h ho o o o, , , , p p p pr r r┆ 0x0660…0680 08 72 69 08 69 08 69 08 69 6f 08 6f 08 6f 08 6f 29 08 29 08 29 08 29 0a 20 20 20 20 20 69 08 69 ┆ ri i i io o o o) ) ) ) i i┆ 0x0680…06a0 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 20 77 08 77 08 77 08 77 68 08 68 08 68 08 ┆ i in n n nt t t t w w w wh h h ┆ 0x06a0…06c0 68 69 08 69 08 69 08 69 63 08 63 08 63 08 63 68 08 68 08 68 08 68 2c 08 2c 08 2c 08 2c 20 77 08 ┆hi i i ic c c ch h h h, , , , w ┆ 0x06c0…06e0 77 08 77 08 77 68 08 68 08 68 08 68 6f 08 6f 08 6f 08 6f 2c 08 2c 08 2c 08 2c 20 70 08 70 08 70 ┆w w wh h h ho o o o, , , , p p p┆ 0x06e0…0700 08 70 72 08 72 08 72 08 72 69 08 69 08 69 08 69 6f 08 6f 08 6f 08 6f 3b 08 3b 08 3b 08 3b 0a 0a ┆ pr r r ri i i io o o o; ; ; ; ┆ 0x0700…0720 44 08 44 08 44 08 44 45 08 45 08 45 08 45 53 08 53 08 53 08 53 43 08 43 08 43 08 43 52 08 52 08 ┆D D D DE E E ES S S SC C C CR R ┆ 0x0720…0740 52 08 52 49 08 49 08 49 08 49 50 08 50 08 50 08 50 54 08 54 08 54 08 54 49 08 49 08 49 08 49 4f ┆R RI I I IP P P PT T T TI I I IO┆ 0x0740…0760 08 4f 08 4f 08 4f 4e 08 4e 08 4e 08 4e 0a 20 20 20 20 20 54 68 65 20 73 63 68 65 64 75 6c 69 6e ┆ O O ON N N N The schedulin┆ 0x0760…0780 67 20 70 72 69 6f 72 69 74 79 20 6f 66 20 74 68 65 20 70 72 6f 63 65 73 73 2c 20 70 72 6f 63 65 ┆g priority of the process, proce┆ 0x0780…07a0 73 73 20 67 72 6f 75 70 2c 20 6f 72 0a 20 20 20 20 20 75 73 65 72 2c 20 61 73 20 69 6e 64 69 63 ┆ss group, or user, as indic┆ 0x07a0…07c0 61 74 65 64 20 62 79 20 5f 08 77 5f 08 68 5f 08 69 5f 08 63 5f 08 68 20 61 6e 64 20 5f 08 77 5f ┆ated by _ w_ h_ i_ c_ h and _ w_┆ 0x07c0…07e0 08 68 5f 08 6f 20 69 73 20 6f 62 74 61 69 6e 65 64 20 77 69 74 68 20 74 68 65 0a 20 20 20 20 20 ┆ h_ o is obtained with the ┆ 0x07e0…0800 5f 08 67 5f 08 65 5f 08 74 5f 08 70 5f 08 72 5f 08 69 5f 08 6f 5f 08 72 5f 08 69 5f 08 74 5f 08 ┆_ g_ e_ t_ p_ r_ i_ o_ r_ i_ t_ ┆ 0x0800…0820 79 20 63 61 6c 6c 20 61 6e 64 20 73 65 74 20 77 69 74 68 20 74 68 65 20 5f 08 73 5f 08 65 5f 08 ┆y call and set with the _ s_ e_ ┆ 0x0820…0840 74 5f 08 70 5f 08 72 5f 08 69 5f 08 6f 5f 08 72 5f 08 69 5f 08 74 5f 08 79 20 63 61 6c 6c 2e 20 ┆t_ p_ r_ i_ o_ r_ i_ t_ y call. ┆ 0x0840…0860 20 5f 08 57 5f 08 68 5f 08 69 5f 08 63 5f 08 68 0a 20 20 20 20 20 69 73 20 6f 6e 65 20 6f 66 20 ┆ _ W_ h_ i_ c_ h is one of ┆ 0x0860…0880 50 52 49 4f 5f 50 52 4f 43 45 53 53 2c 20 50 52 49 4f 5f 50 47 52 50 2c 20 6f 72 20 50 52 49 4f ┆PRIO_PROCESS, PRIO_PGRP, or PRIO┆ 0x0880…08a0 5f 55 53 45 52 2c 20 61 6e 64 20 5f 08 77 5f 08 68 5f 08 6f 20 69 73 0a 20 20 20 20 20 69 6e 74 ┆_USER, and _ w_ h_ o is int┆ 0x08a0…08c0 65 72 70 72 65 74 65 64 20 72 65 6c 61 74 69 76 65 20 74 6f 20 5f 08 77 5f 08 68 5f 08 69 5f 08 ┆erpreted relative to _ w_ h_ i_ ┆ 0x08c0…08e0 63 5f 08 68 20 28 61 20 70 72 6f 63 65 73 73 20 69 64 65 6e 74 69 66 69 65 72 20 66 6f 72 0a 20 ┆c_ h (a process identifier for ┆ 0x08e0…0900 20 20 20 20 50 52 49 4f 5f 50 52 4f 43 45 53 53 2c 20 70 72 6f 63 65 73 73 20 67 72 6f 75 70 20 ┆ PRIO_PROCESS, process group ┆ 0x0900…0920 69 64 65 6e 74 69 66 69 65 72 20 66 6f 72 20 50 52 49 4f 5f 50 47 52 50 2c 20 61 6e 64 20 61 0a ┆identifier for PRIO_PGRP, and a ┆ 0x0920…0940 20 20 20 20 20 75 73 65 72 20 49 44 20 66 6f 72 20 50 52 49 4f 5f 55 53 45 52 29 2e 20 20 5f 08 ┆ user ID for PRIO_USER). _ ┆ 0x0940…0960 50 5f 08 72 5f 08 69 5f 08 6f 20 69 73 20 61 20 76 61 6c 75 65 20 69 6e 20 74 68 65 20 72 61 6e ┆P_ r_ i_ o is a value in the ran┆ 0x0960…0980 67 65 20 2d 32 30 20 74 6f 0a 20 20 20 20 20 32 30 2e 20 20 54 68 65 20 64 65 66 61 75 6c 74 20 ┆ge -20 to 20. The default ┆ 0x0980…09a0 70 72 69 6f 72 69 74 79 20 69 73 20 30 3b 20 6c 6f 77 65 72 20 70 72 69 6f 72 69 74 69 65 73 20 ┆priority is 0; lower priorities ┆ 0x09a0…09c0 63 61 75 73 65 20 6d 6f 72 65 0a 20 20 20 20 20 66 61 76 6f 72 61 62 6c 65 20 73 63 68 65 64 75 ┆cause more favorable schedu┆ 0x09c0…09e0 6c 69 6e 67 2e 0a 0a 20 20 20 20 20 54 68 65 20 5f 08 67 5f 08 65 5f 08 74 5f 08 70 5f 08 72 5f ┆ling. The _ g_ e_ t_ p_ r_┆ 0x09e0…0a00 08 69 5f 08 6f 5f 08 72 5f 08 69 5f 08 74 5f 08 79 20 63 61 6c 6c 20 72 65 74 75 72 6e 73 20 74 ┆ i_ o_ r_ i_ t_ y call returns t┆ 0x0a00…0a20 68 65 20 68 69 67 68 65 73 74 20 70 72 69 6f 72 69 74 79 20 28 6c 6f 77 65 73 74 0a 20 20 20 20 ┆he highest priority (lowest ┆ 0x0a20…0a40 20 6e 75 6d 65 72 69 63 61 6c 20 76 61 6c 75 65 29 20 65 6e 6a 6f 79 65 64 20 62 79 20 61 6e 79 ┆ numerical value) enjoyed by any┆ 0x0a40…0a60 20 6f 66 20 74 68 65 20 73 70 65 63 69 66 69 65 64 20 70 72 6f 63 65 73 73 65 73 2e 0a 20 20 20 ┆ of the specified processes. ┆ 0x0a60…0a80 20 20 54 68 65 20 5f 08 73 5f 08 65 5f 08 74 5f 08 70 5f 08 72 5f 08 69 5f 08 6f 5f 08 72 5f 08 ┆ The _ s_ e_ t_ p_ r_ i_ o_ r_ ┆ 0x0a80…0aa0 69 5f 08 74 5f 08 79 20 63 61 6c 6c 20 73 65 74 73 20 74 68 65 20 70 72 69 6f 72 69 74 69 65 73 ┆i_ t_ y call sets the priorities┆ 0x0aa0…0ac0 20 6f 66 20 61 6c 6c 20 6f 66 20 74 68 65 0a 20 20 20 20 20 73 70 65 63 69 66 69 65 64 20 70 72 ┆ of all of the specified pr┆ 0x0ac0…0ae0 6f 63 65 73 73 65 73 20 74 6f 20 74 68 65 20 73 70 65 63 69 66 69 65 64 20 76 61 6c 75 65 2e 20 ┆ocesses to the specified value. ┆ 0x0ae0…0b00 20 4f 6e 6c 79 20 74 68 65 0a 20 20 20 20 20 73 75 70 65 72 2d 75 73 65 72 20 6d 61 79 20 6c 6f ┆ Only the super-user may lo┆ 0x0b00…0b20 77 65 72 20 70 72 69 6f 72 69 74 69 65 73 2e 0a 0a 52 08 52 08 52 08 52 45 08 45 08 45 08 45 54 ┆wer priorities. R R R RE E E ET┆ 0x0b20…0b40 08 54 08 54 08 54 55 08 55 08 55 08 55 52 08 52 08 52 08 52 4e 08 4e 08 4e 08 4e 20 56 08 56 08 ┆ T T TU U U UR R R RN N N N V V ┆ 0x0b40…0b60 56 08 56 41 08 41 08 41 08 41 4c 08 4c 08 4c 08 4c 55 08 55 08 55 08 55 45 08 45 08 45 08 45 0a ┆V VA A A AL L L LU U U UE E E E ┆ 0x0b60…0b80 20 20 20 20 20 53 69 6e 63 65 20 5f 08 67 5f 08 65 5f 08 74 5f 08 70 5f 08 72 5f 08 69 5f 08 6f ┆ Since _ g_ e_ t_ p_ r_ i_ o┆ 0x0b80…0ba0 5f 08 72 5f 08 69 5f 08 74 5f 08 79 20 63 61 6e 20 6c 65 67 69 74 69 6d 61 74 65 6c 79 20 72 65 ┆_ r_ i_ t_ y can legitimately re┆ 0x0ba0…0bc0 74 75 72 6e 20 74 68 65 20 76 61 6c 75 65 20 2d 31 2c 20 69 74 0a 20 20 20 20 20 69 73 20 6e 65 ┆turn the value -1, it is ne┆ 0x0bc0…0be0 63 65 73 73 61 72 79 20 74 6f 20 63 6c 65 61 72 20 74 68 65 20 65 78 74 65 72 6e 61 6c 20 76 61 ┆cessary to clear the external va┆ 0x0be0…0c00 72 69 61 62 6c 65 20 5f 08 65 5f 08 72 5f 08 72 5f 08 6e 5f 08 6f 20 70 72 69 6f 72 20 74 6f 0a ┆riable _ e_ r_ r_ n_ o prior to ┆ 0x0c00…0c20 20 20 20 20 20 74 68 65 20 63 61 6c 6c 2c 20 74 68 65 6e 20 63 68 65 63 6b 20 69 74 20 61 66 74 ┆ the call, then check it aft┆ 0x0c20…0c40 65 72 77 61 72 64 20 74 6f 20 64 65 74 65 72 6d 69 6e 65 20 69 66 20 61 20 2d 31 20 69 73 20 61 ┆erward to determine if a -1 is a┆ 0x0c40…0c60 6e 0a 20 20 20 20 20 65 72 72 6f 72 20 6f 72 20 61 20 6c 65 67 69 74 69 6d 61 74 65 20 76 61 6c ┆n error or a legitimate val┆ 0x0c60…0c80 75 65 2e 20 20 54 68 65 20 5f 08 73 5f 08 65 5f 08 74 5f 08 70 5f 08 72 5f 08 69 5f 08 6f 5f 08 ┆ue. The _ s_ e_ t_ p_ r_ i_ o_ ┆ 0x0c80…0ca0 72 5f 08 69 5f 08 74 5f 08 79 20 63 61 6c 6c 20 72 65 74 75 72 6e 73 20 30 0a 20 20 20 20 20 69 ┆r_ i_ t_ y call returns 0 i┆ 0x0ca0…0cc0 66 20 74 68 65 72 65 20 69 73 20 6e 6f 20 65 72 72 6f 72 2c 20 6f 72 20 2d 31 20 69 66 20 74 68 ┆f there is no error, or -1 if th┆ 0x0cc0…0ce0 65 72 65 20 69 73 2e 0a 0a 45 08 45 08 45 08 45 52 08 52 08 52 08 52 52 08 52 08 52 08 52 4f 08 ┆ere is. E E E ER R R RR R R RO ┆ 0x0ce0…0d00 4f 08 4f 08 4f 52 08 52 08 52 08 52 53 08 53 08 53 08 53 0a 20 20 20 20 20 5f 08 67 5f 08 65 5f ┆O O OR R R RS S S S _ g_ e_┆ 0x0d00…0d20 08 74 5f 08 70 5f 08 72 5f 08 69 5f 08 6f 5f 08 72 5f 08 69 5f 08 74 5f 08 79 20 61 6e 64 20 5f ┆ t_ p_ r_ i_ o_ r_ i_ t_ y and _┆ 0x0d20…0d40 08 73 5f 08 65 5f 08 74 5f 08 70 5f 08 72 5f 08 69 5f 08 6f 5f 08 72 5f 08 69 5f 08 74 5f 08 79 ┆ s_ e_ t_ p_ r_ i_ o_ r_ i_ t_ y┆ 0x0d40…0d60 20 6d 61 79 20 72 65 74 75 72 6e 20 6f 6e 65 20 6f 66 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 ┆ may return one of the following┆ 0x0d60…0d80 0a 20 20 20 20 20 65 72 72 6f 72 73 3a 0a 0a 20 20 20 20 20 5b 45 49 4e 56 41 4c 5d 20 20 20 20 ┆ errors: [EINVAL] ┆ 0x0d80…0da0 20 20 20 5f 08 57 5f 08 68 5f 08 69 5f 08 63 5f 08 68 20 77 61 73 20 6e 6f 74 20 6f 6e 65 20 6f ┆ _ W_ h_ i_ c_ h was not one o┆ 0x0da0…0dc0 66 20 50 52 49 4f 5f 50 52 4f 43 45 53 53 2c 20 50 52 49 4f 5f 50 47 52 50 2c 0a 20 20 20 20 20 ┆f PRIO_PROCESS, PRIO_PGRP, ┆ 0x0dc0…0de0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 72 20 50 52 49 4f 5f 55 53 45 52 2e 0a 0a 20 20 ┆ or PRIO_USER. ┆ 0x0de0…0e00 20 20 20 5b 45 53 52 43 48 5d 20 20 20 20 20 20 20 20 4e 6f 20 70 72 6f 63 65 73 73 28 65 73 29 ┆ [ESRCH] No process(es)┆ 0x0e00…0e20 20 77 65 72 65 20 6c 6f 63 61 74 65 64 20 75 73 69 6e 67 20 74 68 65 20 5f 08 77 5f 08 68 5f 08 ┆ were located using the _ w_ h_ ┆ 0x0e20…0e40 69 5f 08 63 5f 08 68 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 6e 64 20 ┆i_ c_ h and ┆ 0x0e40…0e60 5f 08 77 5f 08 68 5f 08 6f 20 76 61 6c 75 65 73 20 73 70 65 63 69 66 69 65 64 2e 0a 0a 20 20 20 ┆_ w_ h_ o values specified. ┆ 0x0e60…0e80 20 20 49 6e 20 61 64 64 69 74 69 6f 6e 20 74 6f 20 74 68 65 20 65 72 72 6f 72 73 20 69 6e 64 69 ┆ In addition to the errors indi┆ 0x0e80…0ea0 63 61 74 65 64 20 61 62 6f 76 65 2c 20 5f 08 73 5f 08 65 5f 08 74 5f 08 70 5f 08 72 5f 08 69 5f ┆cated above, _ s_ e_ t_ p_ r_ i_┆ 0x0ea0…0ec0 08 6f 5f 08 72 5f 08 69 5f 08 74 5f 08 79 20 6d 61 79 0a 20 20 20 20 20 66 61 69 6c 20 77 69 74 ┆ o_ r_ i_ t_ y may fail wit┆ 0x0ec0…0ee0 68 20 6f 6e 65 20 6f 66 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 65 72 72 6f 72 20 63 6f 6e ┆h one of the following error con┆ 0x0ee0…0f00 64 69 74 69 6f 6e 73 3a 0a 0a 20 20 20 20 20 5b 45 41 43 43 45 53 5d 20 20 20 20 20 20 20 31 29 ┆ditions: [EACCES] 1)┆ 0x0f00…0f20 20 41 20 70 72 6f 63 65 73 73 20 77 61 73 20 6c 6f 63 61 74 65 64 2c 20 62 75 74 20 6e 65 69 74 ┆ A process was located, but neit┆ 0x0f20…0f40 68 65 72 20 69 74 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 65 66 66 65 ┆her its effe┆ 0x0f40…0f60 63 74 69 76 65 20 6e 6f 72 20 72 65 61 6c 20 75 73 65 72 20 49 44 20 6d 61 74 63 68 65 64 20 74 ┆ctive nor real user ID matched t┆ 0x0f60…0f80 68 65 20 65 66 66 65 63 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 69 ┆he effec- ti┆ 0x0f80…0fa0 76 65 20 75 73 65 72 20 49 44 20 6f 66 20 74 68 65 20 63 61 6c 6c 65 72 2e 20 20 32 29 20 41 20 ┆ve user ID of the caller. 2) A ┆ 0x0fa0…0fc0 6e 6f 6e 20 73 75 70 65 72 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 75 ┆non super- u┆ 0x0fc0…0fe0 73 65 72 20 61 74 74 65 6d 70 74 65 64 20 74 6f 20 63 68 61 6e 67 65 20 61 20 70 72 6f 63 65 73 ┆ser attempted to change a proces┆ 0x0fe0…1000 73 20 70 72 69 6f 72 69 74 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 74 ┆s priority t┆ 0x1000…1020 6f 20 61 20 6e 65 67 61 74 69 76 65 20 76 61 6c 75 65 2e 0a 0a 0a 0a 0a 0a 0a 53 08 53 08 53 08 ┆o a negative value. S S S ┆ 0x1020…1040 53 45 08 45 08 45 08 45 45 08 45 08 45 08 45 20 41 08 41 08 41 08 41 4c 08 4c 08 4c 08 4c 53 08 ┆SE E E EE E E E A A A AL L L LS ┆ 0x1040…1060 53 08 53 08 53 4f 08 4f 08 4f 08 4f 0a 20 20 20 20 20 55 73 65 72 20 43 6f 6d 6d 61 6e 64 73 20 ┆S S SO O O O User Commands ┆ 0x1060…1080 28 31 29 3a 20 20 6e 69 63 65 0a 20 20 20 20 20 53 79 73 74 65 6d 20 43 61 6c 6c 73 20 28 32 29 ┆(1): nice System Calls (2)┆ 0x1080…10a0 3a 20 20 66 6f 72 6b 0a 20 20 20 20 20 53 79 73 74 65 6d 20 4d 61 6e 61 67 65 72 20 43 6f 6d 6d ┆: fork System Manager Comm┆ 0x10a0…10c0 61 6e 64 73 20 28 38 29 3a 20 20 72 65 6e 69 63 65 0a 0a 4d 61 72 63 68 20 31 39 38 39 20 20 20 ┆ands (8): renice March 1989 ┆ 0x10c0…10e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 54 58 20 50 72 ┆ TX Pr┆ 0x10e0…1100 6f 67 72 61 6d 6d 65 72 27 73 20 52 65 66 65 72 65 6e 63 65 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a ┆ogrammer's Reference ┆ 0x1100…1120 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a ┆ ┆ 0x1120…112b 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a ┆ ┆