|
|
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: n
Length: 2064 (0x810)
Names: »nice.3c«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./usr/man/cat3/nice.3c«
0x000…020 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_┆
0x020…040 08 75 5f 08 61 5f 08 6c 20 20 20 20 20 20 20 20 20 20 20 4c 69 62 72 61 72 79 20 46 75 6e 63 74 ┆ u_ a_ l Library Funct┆
0x040…060 69 6f 6e 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6e 69 63 65 28 33 63 29 0a 0a 0a 0a ┆ions nice(3c) ┆
0x060…080 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 ┆
0x080…0a0 20 20 6e 69 63 65 20 2d 20 63 68 61 6e 67 65 20 70 72 69 6f 72 69 74 79 20 6f 66 20 61 20 70 72 ┆ nice - change priority of a pr┆
0x0a0…0c0 6f 63 65 73 73 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 54 08 ┆ocess S S S SY Y Y YN N N NT T ┆
0x0c0…0e0 54 08 54 41 08 41 08 41 08 41 58 08 58 08 58 08 58 0a 20 20 20 20 20 69 08 69 08 69 08 69 6e 08 ┆T TA A A AX X X X i i i in ┆
0x0e0…100 6e 08 6e 08 6e 74 08 74 08 74 08 74 20 6e 08 6e 08 6e 08 6e 69 08 69 08 69 08 69 63 08 63 08 63 ┆n n nt t t t n n n ni i i ic c c┆
0x100…120 08 63 65 08 65 08 65 08 65 28 08 28 08 28 08 28 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 63 08 ┆ ce e e e( ( ( (i i i in n n nc ┆
0x120…140 63 08 63 08 63 72 08 72 08 72 08 72 29 08 29 08 29 08 29 0a 20 20 20 20 20 69 08 69 08 69 08 69 ┆c c cr r r r) ) ) ) i i i i┆
0x140…160 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 20 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 63 08 63 ┆n n n nt t t t i i i in n n nc c┆
0x160…180 08 63 08 63 72 08 72 08 72 08 72 3b 08 3b 08 3b 08 3b 0a 0a 44 08 44 08 44 08 44 45 08 45 08 45 ┆ c cr r r r; ; ; ; D D D DE E E┆
0x180…1a0 08 45 53 08 53 08 53 08 53 43 08 43 08 43 08 43 52 08 52 08 52 08 52 49 08 49 08 49 08 49 50 08 ┆ ES S S SC C C CR R R RI I I IP ┆
0x1a0…1c0 50 08 50 08 50 54 08 54 08 54 08 54 49 08 49 08 49 08 49 4f 08 4f 08 4f 08 4f 4e 08 4e 08 4e 08 ┆P P PT T T TI I I IO O O ON N N ┆
0x1c0…1e0 4e 0a 20 20 20 20 20 5f 08 6e 5f 08 69 5f 08 63 5f 08 65 20 61 64 64 73 20 74 68 65 20 76 61 6c ┆N _ n_ i_ c_ e adds the val┆
0x1e0…200 75 65 20 6f 66 20 5f 08 69 5f 08 6e 5f 08 63 5f 08 72 20 74 6f 20 74 68 65 20 6e 69 63 65 20 76 ┆ue of _ i_ n_ c_ r to the nice v┆
0x200…220 61 6c 75 65 20 6f 66 20 74 68 65 20 63 61 6c 6c 69 6e 67 0a 20 20 20 20 20 70 72 6f 63 65 73 73 ┆alue of the calling process┆
0x220…240 2e 20 41 20 70 72 6f 63 65 73 73 27 73 20 6e 69 63 65 20 76 61 6c 75 65 20 69 73 20 61 20 6e 6f ┆. A process's nice value is a no┆
0x240…260 6e 2d 6e 65 67 61 74 69 76 65 20 6e 75 6d 62 65 72 20 66 6f 72 0a 20 20 20 20 20 77 68 69 63 68 ┆n-negative number for which┆
0x260…280 20 61 20 6d 6f 72 65 20 70 6f 73 69 74 69 76 65 20 76 61 6c 75 65 20 72 65 73 75 6c 74 73 20 69 ┆ a more positive value results i┆
0x280…2a0 6e 20 6c 6f 77 65 72 20 43 50 55 20 70 72 69 6f 72 69 74 79 2e 0a 0a 20 20 20 20 20 41 20 6d 61 ┆n lower CPU priority. A ma┆
0x2a0…2c0 78 69 6d 75 6d 20 6e 69 63 65 20 76 61 6c 75 65 20 6f 66 20 32 20 78 20 7b 4e 5a 45 52 4f 7d 20 ┆ximum nice value of 2 x {NZERO} ┆
0x2c0…2e0 2d 20 31 20 28 73 65 65 20 3c 08 3c 08 3c 08 3c 6c 08 6c 08 6c 08 6c 69 08 69 08 69 08 69 6d 08 ┆- 1 (see < < < <l l l li i i im ┆
0x2e0…300 6d 08 6d 08 6d 69 08 69 08 69 08 69 74 08 74 08 74 08 74 73 08 73 08 73 08 73 2e 08 2e 08 2e 08 ┆m m mi i i it t t ts s s s. . . ┆
0x300…320 2e 68 08 68 08 68 08 68 3e 08 3e 08 3e 08 3e 29 20 61 6e 64 0a 20 20 20 20 20 61 20 6d 69 6e 69 ┆.h h h h> > > >) and a mini┆
0x320…340 6d 75 6d 20 6e 69 63 65 20 76 61 6c 75 65 20 6f 66 20 30 20 61 72 65 20 69 6d 70 6f 73 65 64 20 ┆mum nice value of 0 are imposed ┆
0x340…360 62 79 20 74 68 65 20 73 79 73 74 65 6d 2e 0a 20 20 20 20 20 52 65 71 75 65 73 74 73 20 66 6f 72 ┆by the system. Requests for┆
0x360…380 20 76 61 6c 75 65 73 20 61 62 6f 76 65 20 6f 72 20 62 65 6c 6f 77 20 74 68 65 73 65 20 6c 69 6d ┆ values above or below these lim┆
0x380…3a0 69 74 73 20 72 65 73 75 6c 74 20 69 6e 0a 20 20 20 20 20 74 68 65 20 6e 69 63 65 20 76 61 6c 75 ┆its result in the nice valu┆
0x3a0…3c0 65 20 62 65 69 6e 67 20 73 65 74 20 74 6f 20 74 68 65 20 63 6f 72 72 65 73 70 6f 6e 64 69 6e 67 ┆e being set to the corresponding┆
0x3c0…3e0 20 6c 69 6d 69 74 2e 20 20 28 4e 6f 74 65 0a 20 20 20 20 20 74 68 61 74 20 74 68 69 73 20 61 70 ┆ limit. (Note that this ap┆
0x3e0…400 70 6c 69 65 73 20 6f 6e 6c 79 20 74 6f 20 74 68 65 20 73 75 70 65 72 2d 75 73 65 72 3b 20 6f 74 ┆plies only to the super-user; ot┆
0x400…420 68 65 72 20 70 72 6f 63 65 73 73 65 73 0a 20 20 20 20 20 77 69 6c 6c 20 67 65 74 20 74 68 65 20 ┆her processes will get the ┆
0x420…440 72 65 74 75 72 6e 20 76 61 6c 75 65 20 61 6e 64 20 65 72 72 6f 72 20 64 65 73 63 72 69 62 65 64 ┆return value and error described┆
0x440…460 20 62 65 6c 6f 77 2e 29 0a 0a 52 08 52 08 52 08 52 45 08 45 08 45 08 45 54 08 54 08 54 08 54 55 ┆ below.) R R R RE E E ET T T TU┆
0x460…480 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 56 08 56 41 08 41 08 ┆ U U UR R R RN N N N V V V VA A ┆
0x480…4a0 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 20 20 20 20 20 55 70 ┆A AL L L LU U U UE E E E Up┆
0x4a0…4c0 6f 6e 20 73 75 63 63 65 73 73 66 75 6c 20 63 6f 6d 70 6c 65 74 69 6f 6e 2c 20 5f 08 6e 5f 08 69 ┆on successful completion, _ n_ i┆
0x4c0…4e0 5f 08 63 5f 08 65 20 72 65 74 75 72 6e 73 20 74 68 65 20 6e 65 77 20 6e 69 63 65 20 76 61 6c 75 ┆_ c_ e returns the new nice valu┆
0x4e0…500 65 0a 20 20 20 20 20 6d 69 6e 75 73 20 7b 4e 5a 45 52 4f 7d 2e 20 20 4f 74 68 65 72 77 69 73 65 ┆e minus {NZERO}. Otherwise┆
0x500…520 2c 20 61 20 76 61 6c 75 65 20 6f 66 20 2d 31 20 69 73 20 72 65 74 75 72 6e 65 64 20 61 6e 64 0a ┆, a value of -1 is returned and ┆
0x520…540 20 20 20 20 20 5f 08 65 5f 08 72 5f 08 72 5f 08 6e 5f 08 6f 20 69 73 20 73 65 74 20 74 6f 20 69 ┆ _ e_ r_ r_ n_ o is set to i┆
0x540…560 6e 64 69 63 61 74 65 20 74 68 65 20 65 72 72 6f 72 2e 0a 0a 45 08 45 08 45 08 45 52 08 52 08 52 ┆ndicate the error. E E E ER R R┆
0x560…580 08 52 52 08 52 08 52 08 52 4f 08 4f 08 4f 08 4f 52 08 52 08 52 08 52 53 08 53 08 53 08 53 0a 20 ┆ RR R R RO O O OR R R RS S S S ┆
0x580…5a0 20 20 20 20 5f 08 6e 5f 08 69 5f 08 63 5f 08 65 20 77 69 6c 6c 20 66 61 69 6c 20 69 66 3a 0a 0a ┆ _ n_ i_ c_ e will fail if: ┆
0x5a0…5c0 20 20 20 20 20 5b 45 50 45 52 4d 5d 20 20 20 20 20 20 20 20 5f 08 69 5f 08 6e 5f 08 63 5f 08 72 ┆ [EPERM] _ i_ n_ c_ r┆
0x5c0…5e0 20 69 73 20 6e 65 67 61 74 69 76 65 20 6f 72 20 67 72 65 61 74 65 72 20 74 68 61 6e 20 32 20 78 ┆ is negative or greater than 2 x┆
0x5e0…600 20 7b 4e 5a 45 52 4f 7d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2d 20 31 ┆ {NZERO} - 1┆
0x600…620 20 61 6e 64 20 74 68 65 20 63 61 6c 6c 69 6e 67 20 70 72 6f 63 65 73 73 20 69 73 20 6e 6f 74 20 ┆ and the calling process is not ┆
0x620…640 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 73 65 72 2e ┆super- user.┆
0x640…660 0a 0a 53 08 53 08 53 08 53 45 08 45 08 45 08 45 45 08 45 08 45 08 45 20 41 08 41 08 41 08 41 4c ┆ S S S SE E E EE E E E A A A AL┆
0x660…680 08 4c 08 4c 08 4c 53 08 53 08 53 08 53 4f 08 4f 08 4f 08 4f 0a 20 20 20 20 20 53 79 73 74 65 6d ┆ L L LS S S SO O O O System┆
0x680…6a0 20 43 61 6c 6c 73 20 28 32 29 3a 20 20 73 65 74 70 72 69 6f 72 69 74 79 0a 0a 4e 08 4e 08 4e 08 ┆ Calls (2): setpriority N N N ┆
0x6a0…6c0 4e 4f 08 4f 08 4f 08 4f 54 08 54 08 54 08 54 45 08 45 08 45 08 45 53 08 53 08 53 08 53 0a 20 20 ┆NO O O OT T T TE E E ES S S S ┆
0x6c0…6e0 20 20 20 41 73 20 61 6c 6c 20 72 65 74 75 72 6e 20 76 61 6c 75 65 73 20 61 72 65 20 70 65 72 6d ┆ As all return values are perm┆
0x6e0…700 69 73 73 69 62 6c 65 20 69 73 20 61 20 73 75 63 63 65 73 73 66 75 6c 20 73 69 74 75 61 2d 0a 20 ┆issible is a successful situa- ┆
0x700…720 20 20 20 20 74 69 6f 6e 2c 20 61 6e 20 61 70 70 6c 69 63 61 74 69 6f 6e 20 77 69 73 68 69 6e 67 ┆ tion, an application wishing┆
0x720…740 20 74 6f 20 63 68 65 63 6b 20 66 6f 72 20 65 72 72 6f 72 73 20 73 68 6f 75 6c 64 20 73 65 74 0a ┆ to check for errors should set ┆
0x740…760 20 20 20 20 20 5f 08 65 5f 08 72 5f 08 72 5f 08 6e 5f 08 6f 20 74 6f 20 30 2c 20 74 68 65 6e 20 ┆ _ e_ r_ r_ n_ o to 0, then ┆
0x760…780 63 61 6c 6c 20 5f 08 6e 5f 08 69 5f 08 63 5f 08 65 2c 20 61 6e 64 20 69 66 20 69 74 20 72 65 74 ┆call _ n_ i_ c_ e, and if it ret┆
0x780…7a0 75 72 6e 73 20 2d 31 2c 20 63 68 65 63 6b 20 74 6f 0a 20 20 20 20 20 73 65 65 20 69 66 20 5f 08 ┆urns -1, check to see if _ ┆
0x7a0…7c0 65 5f 08 72 5f 08 72 5f 08 6e 5f 08 6f 20 69 73 20 6e 6f 6e 2d 7a 65 72 6f 2e 0a 0a 44 65 63 65 ┆e_ r_ r_ n_ o is non-zero. Dece┆
0x7c0…7e0 6d 62 65 72 20 31 39 39 30 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 ┆mber 1990 ┆
0x7e0…800 20 20 20 20 54 58 20 50 72 6f 67 72 61 6d 6d 65 72 27 73 20 52 65 66 65 72 65 6e 63 65 0a 0a 0a ┆ TX Programmer's Reference ┆
0x800…810 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a ┆ ┆