|
|
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: m
Length: 4330 (0x10ea)
Names: »malloc.3«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./bsd/usr/man/cat3/malloc.3«
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 4c 69 62 72 61 72 79 20 46 75 6e 63 74 ┆ u_ a_ l Library Funct┆ 0x0040…0060 69 6f 6e 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6d 61 6c 6c 6f 63 28 33 29 0a 0a 0a 0a ┆ions malloc(3) ┆ 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 6d 61 6c 6c 6f 63 2c 20 66 72 65 65 2c 20 72 65 61 6c 6c 6f 63 2c 20 63 61 6c 6c 6f 63 20 ┆ malloc, free, realloc, calloc ┆ 0x00a0…00c0 2d 20 6d 65 6d 6f 72 79 20 61 6c 6c 6f 63 61 74 69 6f 6e 20 72 6f 75 74 69 6e 65 73 0a 0a 53 08 ┆- memory allocation routines S ┆ 0x00c0…00e0 53 08 53 08 53 59 08 59 08 59 08 59 4e 08 4e 08 4e 08 4e 54 08 54 08 54 08 54 41 08 41 08 41 08 ┆S S SY Y Y YN N N NT T T TA A A ┆ 0x00e0…0100 41 58 08 58 08 58 08 58 0a 20 20 20 20 20 63 08 63 08 63 08 63 68 08 68 08 68 08 68 61 08 61 08 ┆AX X X X c c c ch h h ha a ┆ 0x0100…0120 61 08 61 72 08 72 08 72 08 72 20 2a 08 2a 08 2a 08 2a 6d 08 6d 08 6d 08 6d 61 08 61 08 61 08 61 ┆a ar r r r * * * *m m m ma a a a┆ 0x0120…0140 6c 08 6c 08 6c 08 6c 6c 08 6c 08 6c 08 6c 6f 08 6f 08 6f 08 6f 63 08 63 08 63 08 63 28 08 28 08 ┆l l l ll l l lo o o oc c c c( ( ┆ 0x0140…0160 28 08 28 73 08 73 08 73 08 73 69 08 69 08 69 08 69 7a 08 7a 08 7a 08 7a 65 08 65 08 65 08 65 29 ┆( (s s s si i i iz z z ze e e e)┆ 0x0160…0180 08 29 08 29 08 29 0a 20 20 20 20 20 75 08 75 08 75 08 75 6e 08 6e 08 6e 08 6e 73 08 73 08 73 08 ┆ ) ) ) u u u un n n ns s s ┆ 0x0180…01a0 73 69 08 69 08 69 08 69 67 08 67 08 67 08 67 6e 08 6e 08 6e 08 6e 65 08 65 08 65 08 65 64 08 64 ┆si i i ig g g gn n n ne e e ed d┆ 0x01a0…01c0 08 64 08 64 20 73 08 73 08 73 08 73 69 08 69 08 69 08 69 7a 08 7a 08 7a 08 7a 65 08 65 08 65 08 ┆ d d s s s si i i iz z z ze e e ┆ 0x01c0…01e0 65 3b 08 3b 08 3b 08 3b 0a 0a 20 20 20 20 20 66 08 66 08 66 08 66 72 08 72 08 72 08 72 65 08 65 ┆e; ; ; ; f f f fr r r re e┆ 0x01e0…0200 08 65 08 65 65 08 65 08 65 08 65 28 08 28 08 28 08 28 70 08 70 08 70 08 70 74 08 74 08 74 08 74 ┆ e ee e e e( ( ( (p p p pt t t t┆ 0x0200…0220 72 08 72 08 72 08 72 29 08 29 08 29 08 29 0a 20 20 20 20 20 63 08 63 08 63 08 63 68 08 68 08 68 ┆r r r r) ) ) ) c c c ch h h┆ 0x0220…0240 08 68 61 08 61 08 61 08 61 72 08 72 08 72 08 72 20 2a 08 2a 08 2a 08 2a 70 08 70 08 70 08 70 74 ┆ ha a a ar r r r * * * *p p p pt┆ 0x0240…0260 08 74 08 74 08 74 72 08 72 08 72 08 72 3b 08 3b 08 3b 08 3b 0a 0a 20 20 20 20 20 63 08 63 08 63 ┆ t t tr r r r; ; ; ; c c c┆ 0x0260…0280 08 63 68 08 68 08 68 08 68 61 08 61 08 61 08 61 72 08 72 08 72 08 72 20 2a 08 2a 08 2a 08 2a 72 ┆ ch h h ha a a ar r r r * * * *r┆ 0x0280…02a0 08 72 08 72 08 72 65 08 65 08 65 08 65 61 08 61 08 61 08 61 6c 08 6c 08 6c 08 6c 6c 08 6c 08 6c ┆ r r re e e ea a a al l l ll l l┆ 0x02a0…02c0 08 6c 6f 08 6f 08 6f 08 6f 63 08 63 08 63 08 63 28 08 28 08 28 08 28 70 08 70 08 70 08 70 74 08 ┆ lo o o oc c c c( ( ( (p p p pt ┆ 0x02c0…02e0 74 08 74 08 74 72 08 72 08 72 08 72 2c 08 2c 08 2c 08 2c 20 73 08 73 08 73 08 73 69 08 69 08 69 ┆t t tr r r r, , , , s s s si i i┆ 0x02e0…0300 08 69 7a 08 7a 08 7a 08 7a 65 08 65 08 65 08 65 29 08 29 08 29 08 29 0a 20 20 20 20 20 63 08 63 ┆ iz z z ze e e e) ) ) ) c c┆ 0x0300…0320 08 63 08 63 68 08 68 08 68 08 68 61 08 61 08 61 08 61 72 08 72 08 72 08 72 20 2a 08 2a 08 2a 08 ┆ c ch h h ha a a ar r r r * * * ┆ 0x0320…0340 2a 70 08 70 08 70 08 70 74 08 74 08 74 08 74 72 08 72 08 72 08 72 3b 08 3b 08 3b 08 3b 0a 20 20 ┆*p p p pt t t tr r r r; ; ; ; ┆ 0x0340…0360 20 20 20 75 08 75 08 75 08 75 6e 08 6e 08 6e 08 6e 73 08 73 08 73 08 73 69 08 69 08 69 08 69 67 ┆ u u u un n n ns s s si i i ig┆ 0x0360…0380 08 67 08 67 08 67 6e 08 6e 08 6e 08 6e 65 08 65 08 65 08 65 64 08 64 08 64 08 64 20 73 08 73 08 ┆ g g gn n n ne e e ed d d d s s ┆ 0x0380…03a0 73 08 73 69 08 69 08 69 08 69 7a 08 7a 08 7a 08 7a 65 08 65 08 65 08 65 3b 08 3b 08 3b 08 3b 0a ┆s si i i iz z z ze e e e; ; ; ; ┆ 0x03a0…03c0 0a 20 20 20 20 20 63 08 63 08 63 08 63 68 08 68 08 68 08 68 61 08 61 08 61 08 61 72 08 72 08 72 ┆ c c c ch h h ha a a ar r r┆ 0x03c0…03e0 08 72 20 2a 08 2a 08 2a 08 2a 63 08 63 08 63 08 63 61 08 61 08 61 08 61 6c 08 6c 08 6c 08 6c 6c ┆ r * * * *c c c ca a a al l l ll┆ 0x03e0…0400 08 6c 08 6c 08 6c 6f 08 6f 08 6f 08 6f 63 08 63 08 63 08 63 28 08 28 08 28 08 28 6e 08 6e 08 6e ┆ l l lo o o oc c c c( ( ( (n n n┆ 0x0400…0420 08 6e 65 08 65 08 65 08 65 6c 08 6c 08 6c 08 6c 65 08 65 08 65 08 65 6d 08 6d 08 6d 08 6d 2c 08 ┆ ne e e el l l le e e em m m m, ┆ 0x0420…0440 2c 08 2c 08 2c 20 65 08 65 08 65 08 65 6c 08 6c 08 6c 08 6c 73 08 73 08 73 08 73 69 08 69 08 69 ┆, , , e e e el l l ls s s si i i┆ 0x0440…0460 08 69 7a 08 7a 08 7a 08 7a 65 08 65 08 65 08 65 29 08 29 08 29 08 29 0a 20 20 20 20 20 75 08 75 ┆ iz z z ze e e e) ) ) ) u u┆ 0x0460…0480 08 75 08 75 6e 08 6e 08 6e 08 6e 73 08 73 08 73 08 73 69 08 69 08 69 08 69 67 08 67 08 67 08 67 ┆ u un n n ns s s si i i ig g g g┆ 0x0480…04a0 6e 08 6e 08 6e 08 6e 65 08 65 08 65 08 65 64 08 64 08 64 08 64 20 6e 08 6e 08 6e 08 6e 65 08 65 ┆n n n ne e e ed d d d n n n ne e┆ 0x04a0…04c0 08 65 08 65 6c 08 6c 08 6c 08 6c 65 08 65 08 65 08 65 6d 08 6d 08 6d 08 6d 2c 08 2c 08 2c 08 2c ┆ e el l l le e e em m m m, , , ,┆ 0x04c0…04e0 20 65 08 65 08 65 08 65 6c 08 6c 08 6c 08 6c 73 08 73 08 73 08 73 69 08 69 08 69 08 69 7a 08 7a ┆ e e e el l l ls s s si i i iz z┆ 0x04e0…0500 08 7a 08 7a 65 08 65 08 65 08 65 3b 08 3b 08 3b 08 3b 0a 0a 44 08 44 08 44 08 44 45 08 45 08 45 ┆ z ze e e e; ; ; ; D D D DE E E┆ 0x0500…0520 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 ┆ 0x0520…0540 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 ┆ 0x0540…0560 4e 0a 20 20 20 20 20 54 68 65 20 5f 08 6d 5f 08 61 5f 08 6c 5f 08 6c 5f 08 6f 5f 08 63 20 61 6e ┆N The _ m_ a_ l_ l_ o_ c an┆ 0x0560…0580 64 20 5f 08 63 5f 08 61 5f 08 6c 5f 08 6c 5f 08 6f 5f 08 63 20 72 6f 75 74 69 6e 65 73 20 72 65 ┆d _ c_ a_ l_ l_ o_ c routines re┆ 0x0580…05a0 71 75 65 73 74 20 73 70 61 63 65 20 66 6f 72 20 61 20 62 6c 6f 63 6b 20 6f 72 0a 20 20 20 20 20 ┆quest space for a block or ┆ 0x05a0…05c0 61 72 72 61 79 2c 20 72 65 73 70 65 63 74 69 76 65 6c 79 2c 20 61 73 20 73 70 65 63 69 66 69 65 ┆array, respectively, as specifie┆ 0x05c0…05e0 64 20 62 79 20 74 68 65 20 61 72 67 75 6d 65 6e 74 28 73 29 2e 0a 0a 20 20 20 20 20 5f 08 72 5f ┆d by the argument(s). _ r_┆ 0x05e0…0600 08 65 5f 08 61 5f 08 6c 5f 08 6c 5f 08 6f 5f 08 63 20 72 65 71 75 65 73 74 73 20 61 20 73 69 7a ┆ e_ a_ l_ l_ o_ c requests a siz┆ 0x0600…0620 65 20 63 68 61 6e 67 65 20 66 6f 72 20 61 6e 20 65 78 69 73 74 69 6e 67 20 62 6c 6f 63 6b 2e 0a ┆e change for an existing block. ┆ 0x0620…0640 0a 20 20 20 20 20 45 61 63 68 20 6f 66 20 74 68 65 20 61 6c 6c 6f 63 61 74 69 6f 6e 20 72 6f 75 ┆ Each of the allocation rou┆ 0x0640…0660 74 69 6e 65 73 20 72 65 74 75 72 6e 73 20 61 20 70 6f 69 6e 74 65 72 20 74 6f 20 73 70 61 63 65 ┆tines returns a pointer to space┆ 0x0660…0680 0a 20 20 20 20 20 73 75 69 74 61 62 6c 79 20 61 6c 69 67 6e 65 64 20 28 61 66 74 65 72 20 70 6f ┆ suitably aligned (after po┆ 0x0680…06a0 73 73 69 62 6c 65 20 70 6f 69 6e 74 65 72 20 63 6f 65 72 63 69 6f 6e 29 20 66 6f 72 0a 20 20 20 ┆ssible pointer coercion) for ┆ 0x06a0…06c0 20 20 73 74 6f 72 61 67 65 20 6f 66 20 61 6e 79 20 74 79 70 65 20 6f 66 20 6f 62 6a 65 63 74 2e ┆ storage of any type of object.┆ 0x06c0…06e0 0a 0a 20 20 20 20 20 5f 08 6d 5f 08 61 5f 08 6c 5f 08 6c 5f 08 6f 5f 08 63 20 61 6e 64 20 5f 08 ┆ _ m_ a_ l_ l_ o_ c and _ ┆ 0x06e0…0700 66 5f 08 72 5f 08 65 5f 08 65 20 70 72 6f 76 69 64 65 20 61 20 73 69 6d 70 6c 65 20 67 65 6e 65 ┆f_ r_ e_ e provide a simple gene┆ 0x0700…0720 72 61 6c 2d 70 75 72 70 6f 73 65 20 73 65 71 75 65 6e 63 65 0a 20 20 20 20 20 66 6f 72 20 6d 65 ┆ral-purpose sequence for me┆ 0x0720…0740 6d 6f 72 79 20 61 6c 6c 6f 63 61 74 69 6f 6e 2e 20 20 5f 08 6d 5f 08 61 5f 08 6c 5f 08 6c 5f 08 ┆mory allocation. _ m_ a_ l_ l_ ┆ 0x0740…0760 6f 5f 08 63 20 72 65 74 75 72 6e 73 20 61 20 70 6f 69 6e 74 65 72 20 74 6f 20 61 20 62 6c 6f 63 ┆o_ c returns a pointer to a bloc┆ 0x0760…0780 6b 0a 20 20 20 20 20 6f 66 20 61 74 20 6c 65 61 73 74 20 5f 08 73 5f 08 69 5f 08 7a 5f 08 65 20 ┆k of at least _ s_ i_ z_ e ┆ 0x0780…07a0 62 79 74 65 73 20 62 65 67 69 6e 6e 69 6e 67 20 6f 6e 20 61 20 77 6f 72 64 20 62 6f 75 6e 64 61 ┆bytes beginning on a word bounda┆ 0x07a0…07c0 72 79 2e 0a 0a 20 20 20 20 20 54 68 65 20 61 72 67 75 6d 65 6e 74 20 74 6f 20 5f 08 66 5f 08 72 ┆ry. The argument to _ f_ r┆ 0x07c0…07e0 5f 08 65 5f 08 65 20 69 73 20 61 20 70 6f 69 6e 74 65 72 20 74 6f 20 61 20 62 6c 6f 63 6b 20 70 ┆_ e_ e is a pointer to a block p┆ 0x07e0…0800 72 65 76 69 6f 75 73 6c 79 0a 20 20 20 20 20 61 6c 6c 6f 63 61 74 65 64 20 62 79 20 5f 08 6d 5f ┆reviously allocated by _ m_┆ 0x0800…0820 08 61 5f 08 6c 5f 08 6c 5f 08 6f 5f 08 63 3b 20 74 68 69 73 20 73 70 61 63 65 20 69 73 20 6d 61 ┆ a_ l_ l_ o_ c; this space is ma┆ 0x0820…0840 64 65 20 61 76 61 69 6c 61 62 6c 65 20 66 6f 72 0a 20 20 20 20 20 66 75 72 74 68 65 72 20 61 6c ┆de available for further al┆ 0x0840…0860 6c 6f 63 61 74 69 6f 6e 2c 20 62 75 74 20 69 74 73 20 63 6f 6e 74 65 6e 74 73 20 61 72 65 20 6c ┆location, but its contents are l┆ 0x0860…0880 65 66 74 20 75 6e 64 69 73 74 75 72 62 65 64 2e 0a 0a 20 20 20 20 20 42 65 20 63 61 72 65 66 75 ┆eft undisturbed. Be carefu┆ 0x0880…08a0 6c 20 74 68 61 74 20 74 68 65 20 73 70 61 63 65 20 61 73 73 69 67 6e 65 64 20 62 79 20 5f 08 6d ┆l that the space assigned by _ m┆ 0x08a0…08c0 5f 08 61 5f 08 6c 5f 08 6c 5f 08 6f 5f 08 63 20 69 73 20 6e 6f 74 20 6f 76 65 72 72 75 6e 0a 20 ┆_ a_ l_ l_ o_ c is not overrun ┆ 0x08c0…08e0 20 20 20 20 61 6e 64 20 74 68 61 74 20 74 68 65 20 6e 75 6d 62 65 72 20 67 69 76 65 6e 20 74 6f ┆ and that the number given to┆ 0x08e0…0900 20 5f 08 66 5f 08 72 5f 08 65 5f 08 65 20 69 73 20 6d 65 61 6e 69 6e 67 66 75 6c 2e 0a 0a 20 20 ┆ _ f_ r_ e_ e is meaningful. ┆ 0x0900…0920 20 20 20 5f 08 6d 5f 08 61 5f 08 6c 5f 08 6c 5f 08 6f 5f 08 63 20 6d 61 69 6e 74 61 69 6e 73 20 ┆ _ m_ a_ l_ l_ o_ c maintains ┆ 0x0920…0940 6d 75 6c 74 69 70 6c 65 20 6c 69 73 74 73 20 6f 66 20 66 72 65 65 20 62 6c 6f 63 6b 73 20 61 63 ┆multiple lists of free blocks ac┆ 0x0940…0960 63 6f 72 64 69 6e 67 20 74 6f 0a 20 20 20 20 20 73 69 7a 65 2c 20 61 6c 6c 6f 63 61 74 69 6e 67 ┆cording to size, allocating┆ 0x0960…0980 20 73 70 61 63 65 20 66 72 6f 6d 20 74 68 65 20 61 70 70 72 6f 70 72 69 61 74 65 20 6c 69 73 74 ┆ space from the appropriate list┆ 0x0980…09a0 2e 20 20 5f 08 6d 5f 08 61 5f 08 6c 5f 08 6c 5f 08 6f 5f 08 63 0a 20 20 20 20 20 69 73 73 75 65 ┆. _ m_ a_ l_ l_ o_ c issue┆ 0x09a0…09c0 73 20 74 68 65 20 5f 08 73 5f 08 62 5f 08 72 5f 08 6b 20 73 79 73 74 65 6d 20 63 61 6c 6c 20 66 ┆s the _ s_ b_ r_ k system call f┆ 0x09c0…09e0 6f 72 20 6d 6f 72 65 20 6d 65 6d 6f 72 79 20 69 66 20 73 75 69 74 61 62 6c 65 0a 20 20 20 20 20 ┆or more memory if suitable ┆ 0x09e0…0a00 73 70 61 63 65 20 69 73 20 6e 6f 74 20 61 6c 72 65 61 64 79 20 66 72 65 65 2e 20 20 56 65 72 79 ┆space is not already free. Very┆ 0x0a00…0a20 20 6c 61 72 67 65 20 5f 08 6d 5f 08 61 5f 08 6c 5f 08 6c 5f 08 6f 5f 08 63 20 72 65 71 75 65 73 ┆ large _ m_ a_ l_ l_ o_ c reques┆ 0x0a20…0a40 74 73 20 28 61 74 0a 20 20 20 20 20 6c 65 61 73 74 20 34 4d 62 79 74 65 73 29 20 6d 61 79 20 66 ┆ts (at least 4Mbytes) may f┆ 0x0a40…0a60 61 69 6c 20 65 76 65 6e 20 74 68 6f 75 67 68 20 73 75 66 66 69 63 69 65 6e 74 20 6d 65 6d 6f 72 ┆ail even though sufficient memor┆ 0x0a60…0a80 79 20 61 6e 64 0a 20 20 20 20 20 73 77 61 70 20 73 70 61 63 65 20 69 73 20 61 76 61 69 6c 61 62 ┆y and swap space is availab┆ 0x0a80…0aa0 6c 65 2e 20 20 49 6e 20 73 75 63 68 20 63 61 73 65 73 2c 20 79 6f 75 20 73 68 6f 75 6c 64 20 63 ┆le. In such cases, you should c┆ 0x0aa0…0ac0 6f 6e 73 69 64 65 72 0a 20 20 20 20 20 75 73 69 6e 67 20 74 68 65 20 5f 08 73 5f 08 62 5f 08 72 ┆onsider using the _ s_ b_ r┆ 0x0ac0…0ae0 5f 08 6b 20 73 79 73 74 65 6d 20 63 61 6c 6c 20 64 69 72 65 63 74 6c 79 2e 0a 0a 20 20 20 20 20 ┆_ k system call directly. ┆ 0x0ae0…0b00 5f 08 72 5f 08 65 5f 08 61 5f 08 6c 5f 08 6c 5f 08 6f 5f 08 63 20 63 68 61 6e 67 65 73 20 74 68 ┆_ r_ e_ a_ l_ l_ o_ c changes th┆ 0x0b00…0b20 65 20 73 69 7a 65 20 6f 66 20 74 68 65 20 62 6c 6f 63 6b 20 70 6f 69 6e 74 65 64 20 74 6f 20 62 ┆e size of the block pointed to b┆ 0x0b20…0b40 79 20 5f 08 70 5f 08 74 5f 08 72 20 74 6f 0a 20 20 20 20 20 5f 08 73 5f 08 69 5f 08 7a 5f 08 65 ┆y _ p_ t_ r to _ s_ i_ z_ e┆ 0x0b40…0b60 20 62 79 74 65 73 20 61 6e 64 20 72 65 74 75 72 6e 73 20 61 20 70 6f 69 6e 74 65 72 20 74 6f 20 ┆ bytes and returns a pointer to ┆ 0x0b60…0b80 74 68 65 20 28 70 6f 73 73 69 62 6c 79 20 6d 6f 76 65 64 29 0a 20 20 20 20 20 62 6c 6f 63 6b 2e ┆the (possibly moved) block.┆ 0x0b80…0ba0 20 20 54 68 65 20 63 6f 6e 74 65 6e 74 73 20 77 69 6c 6c 20 62 65 20 75 6e 63 68 61 6e 67 65 64 ┆ The contents will be unchanged┆ 0x0ba0…0bc0 20 75 70 20 74 6f 20 74 68 65 20 6c 65 73 73 65 72 20 6f 66 0a 20 20 20 20 20 74 68 65 20 6e 65 ┆ up to the lesser of the ne┆ 0x0bc0…0be0 77 20 61 6e 64 20 6f 6c 64 20 73 69 7a 65 73 2e 0a 0a 20 20 20 20 20 49 6e 20 6f 72 64 65 72 20 ┆w and old sizes. In order ┆ 0x0be0…0c00 74 6f 20 62 65 20 63 6f 6d 70 61 74 69 62 6c 65 20 77 69 74 68 20 6f 6c 64 65 72 20 76 65 72 73 ┆to be compatible with older vers┆ 0x0c00…0c20 69 6f 6e 73 2c 20 5f 08 72 5f 08 65 5f 08 61 5f 08 6c 5f 08 6c 5f 08 6f 5f 08 63 20 61 6c 73 6f ┆ions, _ r_ e_ a_ l_ l_ o_ c also┆ 0x0c20…0c40 0a 20 20 20 20 20 77 6f 72 6b 73 20 69 66 20 5f 08 70 5f 08 74 5f 08 72 20 70 6f 69 6e 74 73 20 ┆ works if _ p_ t_ r points ┆ 0x0c40…0c60 74 6f 20 61 20 62 6c 6f 63 6b 20 66 72 65 65 64 20 73 69 6e 63 65 20 74 68 65 20 6c 61 73 74 20 ┆to a block freed since the last ┆ 0x0c60…0c80 63 61 6c 6c 20 6f 66 0a 20 20 20 20 20 5f 08 6d 5f 08 61 5f 08 6c 5f 08 6c 5f 08 6f 5f 08 63 2c ┆call of _ m_ a_ l_ l_ o_ c,┆ 0x0c80…0ca0 20 5f 08 72 5f 08 65 5f 08 61 5f 08 6c 5f 08 6c 5f 08 6f 5f 08 63 20 6f 72 20 5f 08 63 5f 08 61 ┆ _ r_ e_ a_ l_ l_ o_ c or _ c_ a┆ 0x0ca0…0cc0 5f 08 6c 5f 08 6c 5f 08 6f 5f 08 63 2e 20 20 28 54 68 65 20 70 72 65 76 69 6f 75 73 20 73 65 71 ┆_ l_ l_ o_ c. (The previous seq┆ 0x0cc0…0ce0 75 65 6e 63 65 20 6f 66 20 5f 08 66 5f 08 72 5f 08 65 5f 08 65 2c 0a 20 20 20 20 20 5f 08 6d 5f ┆uence of _ f_ r_ e_ e, _ m_┆ 0x0ce0…0d00 08 61 5f 08 6c 5f 08 6c 5f 08 6f 5f 08 63 20 61 6e 64 20 5f 08 72 5f 08 65 5f 08 61 5f 08 6c 5f ┆ a_ l_ l_ o_ c and _ r_ e_ a_ l_┆ 0x0d00…0d20 08 6c 5f 08 6f 5f 08 63 20 66 6f 72 20 73 74 6f 72 61 67 65 20 63 6f 6d 70 61 63 74 69 6f 6e 20 ┆ l_ o_ c for storage compaction ┆ 0x0d20…0d40 69 73 20 6e 6f 74 20 72 65 63 6f 6d 2d 0a 20 20 20 20 20 6d 65 6e 64 65 64 2e 29 0a 0a 20 20 20 ┆is not recom- mended.) ┆ 0x0d40…0d60 20 20 5f 08 63 5f 08 61 5f 08 6c 5f 08 6c 5f 08 6f 5f 08 63 20 61 6c 6c 6f 63 61 74 65 73 20 73 ┆ _ c_ a_ l_ l_ o_ c allocates s┆ 0x0d60…0d80 70 61 63 65 20 66 6f 72 20 61 6e 20 61 72 72 61 79 20 6f 66 20 5f 08 6e 5f 08 65 5f 08 6c 5f 08 ┆pace for an array of _ n_ e_ l_ ┆ 0x0d80…0da0 65 5f 08 6d 20 65 6c 65 6d 65 6e 74 73 20 6f 66 0a 20 20 20 20 20 73 69 7a 65 20 5f 08 65 5f 08 ┆e_ m elements of size _ e_ ┆ 0x0da0…0dc0 6c 5f 08 73 5f 08 69 5f 08 7a 5f 08 65 2e 20 54 68 65 20 73 70 61 63 65 20 69 73 20 69 6e 69 74 ┆l_ s_ i_ z_ e. The space is init┆ 0x0dc0…0de0 69 61 6c 69 7a 65 64 20 74 6f 20 7a 65 72 6f 73 2e 0a 0a 0a 0a 0a 0a 0a 53 08 53 08 53 08 53 45 ┆ialized to zeros. S S S SE┆ 0x0de0…0e00 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 53 08 ┆ E E EE E E E A A A AL L L LS S ┆ 0x0e00…0e20 53 08 53 4f 08 4f 08 4f 08 4f 0a 20 20 20 20 20 53 79 73 74 65 6d 20 43 61 6c 6c 73 20 28 32 29 ┆S SO O O O System Calls (2)┆ 0x0e20…0e40 3a 20 20 62 72 6b 2c 20 73 62 72 6b 0a 0a 44 08 44 08 44 08 44 49 08 49 08 49 08 49 41 08 41 08 ┆: brk, sbrk D D D DI I I IA A ┆ 0x0e40…0e60 41 08 41 47 08 47 08 47 08 47 4e 08 4e 08 4e 08 4e 4f 08 4f 08 4f 08 4f 53 08 53 08 53 08 53 54 ┆A AG G G GN N N NO O O OS S S ST┆ 0x0e60…0e80 08 54 08 54 08 54 49 08 49 08 49 08 49 43 08 43 08 43 08 43 53 08 53 08 53 08 53 0a 20 20 20 20 ┆ T T TI I I IC C C CS S S S ┆ 0x0e80…0ea0 20 5f 08 6d 5f 08 61 5f 08 6c 5f 08 6c 5f 08 6f 5f 08 63 2c 20 5f 08 72 5f 08 65 5f 08 61 5f 08 ┆ _ m_ a_ l_ l_ o_ c, _ r_ e_ a_ ┆ 0x0ea0…0ec0 6c 5f 08 6c 5f 08 6f 5f 08 63 20 61 6e 64 20 5f 08 63 5f 08 61 5f 08 6c 5f 08 6c 5f 08 6f 5f 08 ┆l_ l_ o_ c and _ c_ a_ l_ l_ o_ ┆ 0x0ec0…0ee0 63 20 72 65 74 75 72 6e 20 61 20 6e 75 6c 6c 20 70 6f 69 6e 74 65 72 20 28 30 29 20 69 66 0a 20 ┆c return a null pointer (0) if ┆ 0x0ee0…0f00 20 20 20 20 74 68 65 72 65 20 69 73 20 6e 6f 20 61 76 61 69 6c 61 62 6c 65 20 6d 65 6d 6f 72 79 ┆ there is no available memory┆ 0x0f00…0f20 20 6f 72 20 69 66 20 74 68 65 20 61 72 65 61 20 68 61 73 20 62 65 65 6e 20 64 65 74 65 63 74 2d ┆ or if the area has been detect-┆ 0x0f20…0f40 0a 20 20 20 20 20 61 62 6c 79 20 63 6f 72 72 75 70 74 65 64 20 62 79 20 73 74 6f 72 69 6e 67 20 ┆ ably corrupted by storing ┆ 0x0f40…0f60 6f 75 74 73 69 64 65 20 74 68 65 20 62 6f 75 6e 64 73 20 6f 66 20 61 20 62 6c 6f 63 6b 2e 0a 20 ┆outside the bounds of a block. ┆ 0x0f60…0f80 20 20 20 20 5f 08 6d 5f 08 61 5f 08 6c 5f 08 6c 5f 08 6f 5f 08 63 20 6d 61 79 20 62 65 20 72 65 ┆ _ m_ a_ l_ l_ o_ c may be re┆ 0x0f80…0fa0 63 6f 6d 70 69 6c 65 64 20 74 6f 20 63 68 65 63 6b 20 74 68 65 20 61 72 65 61 20 76 65 72 79 20 ┆compiled to check the area very ┆ 0x0fa0…0fc0 73 74 72 69 6e 67 65 6e 74 6c 79 0a 20 20 20 20 20 6f 6e 20 65 76 65 72 79 20 74 72 61 6e 73 61 ┆stringently on every transa┆ 0x0fc0…0fe0 63 74 69 6f 6e 2e 0a 0a 4c 08 4c 08 4c 08 4c 49 08 49 08 49 08 49 4d 08 4d 08 4d 08 4d 49 08 49 ┆ction. L L L LI I I IM M M MI I┆ 0x0fe0…1000 08 49 08 49 54 08 54 08 54 08 54 41 08 41 08 41 08 41 54 08 54 08 54 08 54 49 08 49 08 49 08 49 ┆ I IT T T TA A A AT T T TI I I I┆ 0x1000…1020 4f 08 4f 08 4f 08 4f 4e 08 4e 08 4e 08 4e 53 08 53 08 53 08 53 0a 20 20 20 20 20 57 68 65 6e 20 ┆O O O ON N N NS S S S When ┆ 0x1020…1040 5f 08 72 5f 08 65 5f 08 61 5f 08 6c 5f 08 6c 5f 08 6f 5f 08 63 20 72 65 74 75 72 6e 73 20 30 2c ┆_ r_ e_ a_ l_ l_ o_ c returns 0,┆ 0x1040…1060 20 74 68 65 20 62 6c 6f 63 6b 20 70 6f 69 6e 74 65 64 20 74 6f 20 62 79 20 5f 08 70 5f 08 74 5f ┆ the block pointed to by _ p_ t_┆ 0x1060…1080 08 72 20 6d 61 79 20 62 65 0a 20 20 20 20 20 64 65 73 74 72 6f 79 65 64 2e 0a 0a 4d 61 72 63 68 ┆ r may be destroyed. March┆ 0x1080…10a0 20 31 39 38 39 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 ┆ 1989 ┆ 0x10a0…10c0 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 0a ┆ TX Programmer's Reference ┆ 0x10c0…10e0 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 ┆ ┆ 0x10e0…10ea 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a ┆ ┆