|
|
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: s
Length: 5547 (0x15ab)
Names: »string.3c«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./bsd/usr/man/cat3/string.3c«
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 73 74 72 69 6e 67 28 33 63 29 0a 0a 0a 0a ┆ions string(3c) ┆ 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 73 74 72 63 61 74 6e 2c 20 73 74 72 63 6d 70 6e 2c 20 73 74 72 63 70 79 6e 2c 20 73 74 72 ┆ strcatn, strcmpn, strcpyn, str┆ 0x00a0…00c0 63 68 72 2c 20 73 74 72 72 63 68 72 2c 20 73 74 72 70 62 72 6b 2c 20 73 74 72 73 70 6e 2c 0a 20 ┆chr, strrchr, strpbrk, strspn, ┆ 0x00c0…00e0 20 20 20 20 73 74 72 63 73 70 6e 2c 20 73 74 72 74 6f 6b 20 2d 20 73 74 72 69 6e 67 20 6f 70 65 ┆ strcspn, strtok - string ope┆ 0x00e0…0100 72 61 74 69 6f 6e 73 20 28 66 6f 72 20 63 6f 6d 70 61 74 69 62 69 6c 69 74 79 29 0a 0a 53 08 53 ┆rations (for compatibility) S S┆ 0x0100…0120 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 41 ┆ S SY Y Y YN N N NT T T TA A A A┆ 0x0120…0140 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 61 ┆X X X X c c c ch h h ha a a┆ 0x0140…0160 08 61 72 08 72 08 72 08 72 20 2a 08 2a 08 2a 08 2a 73 08 73 08 73 08 73 74 08 74 08 74 08 74 72 ┆ ar r r r * * * *s s s st t t tr┆ 0x0160…0180 08 72 08 72 08 72 63 08 63 08 63 08 63 61 08 61 08 61 08 61 74 08 74 08 74 08 74 6e 08 6e 08 6e ┆ r r rc c c ca a a at t t tn n n┆ 0x0180…01a0 08 6e 20 28 08 28 08 28 08 28 73 08 73 08 73 08 73 31 08 31 08 31 08 31 2c 08 2c 08 2c 08 2c 20 ┆ n ( ( ( (s s s s1 1 1 1, , , , ┆ 0x01a0…01c0 73 08 73 08 73 08 73 32 08 32 08 32 08 32 2c 08 2c 08 2c 08 2c 20 6e 08 6e 08 6e 08 6e 29 08 29 ┆s s s s2 2 2 2, , , , n n n n) )┆ 0x01c0…01e0 08 29 08 29 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 ┆ ) ) c c c ch h h ha a a ar┆ 0x01e0…0200 08 72 08 72 08 72 20 2a 08 2a 08 2a 08 2a 73 08 73 08 73 08 73 31 08 31 08 31 08 31 2c 08 2c 08 ┆ r r r * * * *s s s s1 1 1 1, , ┆ 0x0200…0220 2c 08 2c 20 2a 08 2a 08 2a 08 2a 73 08 73 08 73 08 73 32 08 32 08 32 08 32 3b 08 3b 08 3b 08 3b ┆, , * * * *s s s s2 2 2 2; ; ; ;┆ 0x0220…0240 0a 20 20 20 20 20 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 20 6e 08 6e 08 ┆ i i i in n n nt t t t n n ┆ 0x0240…0260 6e 08 6e 3b 08 3b 08 3b 08 3b 0a 0a 20 20 20 20 20 63 08 63 08 63 08 63 68 08 68 08 68 08 68 61 ┆n n; ; ; ; c c c ch h h ha┆ 0x0260…0280 08 61 08 61 08 61 72 08 72 08 72 08 72 20 2a 08 2a 08 2a 08 2a 73 08 73 08 73 08 73 74 08 74 08 ┆ a a ar r r r * * * *s s s st t ┆ 0x0280…02a0 74 08 74 72 08 72 08 72 08 72 63 08 63 08 63 08 63 6d 08 6d 08 6d 08 6d 70 08 70 08 70 08 70 6e ┆t tr r r rc c c cm m m mp p p pn┆ 0x02a0…02c0 08 6e 08 6e 08 6e 20 28 08 28 08 28 08 28 73 08 73 08 73 08 73 31 08 31 08 31 08 31 2c 08 2c 08 ┆ n n n ( ( ( (s s s s1 1 1 1, , ┆ 0x02c0…02e0 2c 08 2c 20 73 08 73 08 73 08 73 32 08 32 08 32 08 32 2c 08 2c 08 2c 08 2c 20 6e 08 6e 08 6e 08 ┆, , s s s s2 2 2 2, , , , n n n ┆ 0x02e0…0300 6e 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 08 68 61 08 61 08 ┆n) ) ) ) c c c ch h h ha a ┆ 0x0300…0320 61 08 61 72 08 72 08 72 08 72 20 2a 08 2a 08 2a 08 2a 73 08 73 08 73 08 73 31 08 31 08 31 08 31 ┆a ar r r r * * * *s s s s1 1 1 1┆ 0x0320…0340 2c 08 2c 08 2c 08 2c 20 2a 08 2a 08 2a 08 2a 73 08 73 08 73 08 73 32 08 32 08 32 08 32 3b 08 3b ┆, , , , * * * *s s s s2 2 2 2; ;┆ 0x0340…0360 08 3b 08 3b 0a 20 20 20 20 20 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 20 ┆ ; ; i i i in n n nt t t t ┆ 0x0360…0380 6e 08 6e 08 6e 08 6e 3b 08 3b 08 3b 08 3b 0a 0a 20 20 20 20 20 63 08 63 08 63 08 63 68 08 68 08 ┆n n n n; ; ; ; c c c ch h ┆ 0x0380…03a0 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 73 08 73 08 73 08 73 ┆h ha a a ar r r r * * * *s s s s┆ 0x03a0…03c0 74 08 74 08 74 08 74 72 08 72 08 72 08 72 63 08 63 08 63 08 63 70 08 70 08 70 08 70 79 08 79 08 ┆t t t tr r r rc c c cp p p py y ┆ 0x03c0…03e0 79 08 79 6e 08 6e 08 6e 08 6e 20 28 08 28 08 28 08 28 73 08 73 08 73 08 73 31 08 31 08 31 08 31 ┆y yn n n n ( ( ( (s s s s1 1 1 1┆ 0x03e0…0400 2c 08 2c 08 2c 08 2c 20 73 08 73 08 73 08 73 32 08 32 08 32 08 32 2c 08 2c 08 2c 08 2c 20 6e 08 ┆, , , , s s s s2 2 2 2, , , , n ┆ 0x0400…0420 6e 08 6e 08 6e 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 08 68 ┆n n n) ) ) ) c c c ch h h h┆ 0x0420…0440 61 08 61 08 61 08 61 72 08 72 08 72 08 72 20 2a 08 2a 08 2a 08 2a 73 08 73 08 73 08 73 31 08 31 ┆a a a ar r r r * * * *s s s s1 1┆ 0x0440…0460 08 31 08 31 2c 08 2c 08 2c 08 2c 20 2a 08 2a 08 2a 08 2a 73 08 73 08 73 08 73 32 08 32 08 32 08 ┆ 1 1, , , , * * * *s s s s2 2 2 ┆ 0x0460…0480 32 3b 08 3b 08 3b 08 3b 0a 20 20 20 20 20 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 ┆2; ; ; ; i i i in n n nt t ┆ 0x0480…04a0 74 08 74 20 6e 08 6e 08 6e 08 6e 3b 08 3b 08 3b 08 3b 0a 0a 20 20 20 20 20 63 08 63 08 63 08 63 ┆t t n n n n; ; ; ; c c c c┆ 0x04a0…04c0 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 73 08 73 ┆h h h ha a a ar r r r * * * *s s┆ 0x04c0…04e0 08 73 08 73 74 08 74 08 74 08 74 72 08 72 08 72 08 72 63 08 63 08 63 08 63 68 08 68 08 68 08 68 ┆ s st t t tr r r rc c c ch h h h┆ 0x04e0…0500 72 08 72 08 72 08 72 20 28 08 28 08 28 08 28 73 08 73 08 73 08 73 2c 08 2c 08 2c 08 2c 20 63 08 ┆r r r r ( ( ( (s s s s, , , , c ┆ 0x0500…0520 63 08 63 08 63 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 08 68 ┆c c c) ) ) ) c c c ch h h h┆ 0x0520…0540 61 08 61 08 61 08 61 72 08 72 08 72 08 72 20 2a 08 2a 08 2a 08 2a 73 08 73 08 73 08 73 2c 08 2c ┆a a a ar r r r * * * *s s s s, ,┆ 0x0540…0560 08 2c 08 2c 20 63 08 63 08 63 08 63 3b 08 3b 08 3b 08 3b 0a 0a 20 20 20 20 20 63 08 63 08 63 08 ┆ , , c c c c; ; ; ; c c c ┆ 0x0560…0580 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 73 08 ┆ch h h ha a a ar r r r * * * *s ┆ 0x0580…05a0 73 08 73 08 73 74 08 74 08 74 08 74 72 08 72 08 72 08 72 72 08 72 08 72 08 72 63 08 63 08 63 08 ┆s s st t t tr r r rr r r rc c c ┆ 0x05a0…05c0 63 68 08 68 08 68 08 68 72 08 72 08 72 08 72 20 28 08 28 08 28 08 28 73 08 73 08 73 08 73 2c 08 ┆ch h h hr r r r ( ( ( (s s s s, ┆ 0x05c0…05e0 2c 08 2c 08 2c 20 63 08 63 08 63 08 63 29 08 29 08 29 08 29 0a 20 20 20 20 20 63 08 63 08 63 08 ┆, , , c c c c) ) ) ) c c c ┆ 0x05e0…0600 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 73 08 ┆ch h h ha a a ar r r r * * * *s ┆ 0x0600…0620 73 08 73 08 73 2c 08 2c 08 2c 08 2c 20 63 08 63 08 63 08 63 3b 08 3b 08 3b 08 3b 0a 0a 20 20 20 ┆s s s, , , , c c c c; ; ; ; ┆ 0x0620…0640 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 08 72 20 2a ┆ c c c ch h h ha a a ar r r r *┆ 0x0640…0660 08 2a 08 2a 08 2a 73 08 73 08 73 08 73 74 08 74 08 74 08 74 72 08 72 08 72 08 72 70 08 70 08 70 ┆ * * *s s s st t t tr r r rp p p┆ 0x0660…0680 08 70 62 08 62 08 62 08 62 72 08 72 08 72 08 72 6b 08 6b 08 6b 08 6b 20 28 08 28 08 28 08 28 73 ┆ pb b b br r r rk k k k ( ( ( (s┆ 0x0680…06a0 08 73 08 73 08 73 31 08 31 08 31 08 31 2c 08 2c 08 2c 08 2c 20 73 08 73 08 73 08 73 32 08 32 08 ┆ s s s1 1 1 1, , , , s s s s2 2 ┆ 0x06a0…06c0 32 08 32 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 08 68 61 08 ┆2 2) ) ) ) c c c ch h h ha ┆ 0x06c0…06e0 61 08 61 08 61 72 08 72 08 72 08 72 20 2a 08 2a 08 2a 08 2a 73 08 73 08 73 08 73 31 08 31 08 31 ┆a a ar r r r * * * *s s s s1 1 1┆ 0x06e0…0700 08 31 2c 08 2c 08 2c 08 2c 20 2a 08 2a 08 2a 08 2a 73 08 73 08 73 08 73 32 08 32 08 32 08 32 3b ┆ 1, , , , * * * *s s s s2 2 2 2;┆ 0x0700…0720 08 3b 08 3b 08 3b 0a 0a 20 20 20 20 20 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 ┆ ; ; ; i i i in n n nt t t┆ 0x0720…0740 08 74 20 73 08 73 08 73 08 73 74 08 74 08 74 08 74 72 08 72 08 72 08 72 73 08 73 08 73 08 73 70 ┆ t s s s st t t tr r r rs s s sp┆ 0x0740…0760 08 70 08 70 08 70 6e 08 6e 08 6e 08 6e 20 28 08 28 08 28 08 28 73 08 73 08 73 08 73 31 08 31 08 ┆ p p pn n n n ( ( ( (s s s s1 1 ┆ 0x0760…0780 31 08 31 2c 08 2c 08 2c 08 2c 20 73 08 73 08 73 08 73 32 08 32 08 32 08 32 29 08 29 08 29 08 29 ┆1 1, , , , s s s s2 2 2 2) ) ) )┆ 0x0780…07a0 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┆ 0x07a0…07c0 08 72 20 2a 08 2a 08 2a 08 2a 73 08 73 08 73 08 73 31 08 31 08 31 08 31 2c 08 2c 08 2c 08 2c 20 ┆ r * * * *s s s s1 1 1 1, , , , ┆ 0x07c0…07e0 2a 08 2a 08 2a 08 2a 73 08 73 08 73 08 73 32 08 32 08 32 08 32 3b 08 3b 08 3b 08 3b 0a 0a 20 20 ┆* * * *s s s s2 2 2 2; ; ; ; ┆ 0x07e0…0800 20 20 20 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 20 73 08 73 08 73 08 73 ┆ i i i in n n nt t t t s s s s┆ 0x0800…0820 74 08 74 08 74 08 74 72 08 72 08 72 08 72 63 08 63 08 63 08 63 73 08 73 08 73 08 73 70 08 70 08 ┆t t t tr r r rc c c cs s s sp p ┆ 0x0820…0840 70 08 70 6e 08 6e 08 6e 08 6e 20 28 08 28 08 28 08 28 73 08 73 08 73 08 73 31 08 31 08 31 08 31 ┆p pn n n n ( ( ( (s s s s1 1 1 1┆ 0x0840…0860 2c 08 2c 08 2c 08 2c 20 73 08 73 08 73 08 73 32 08 32 08 32 08 32 29 08 29 08 29 08 29 0a 20 20 ┆, , , , s s s s2 2 2 2) ) ) ) ┆ 0x0860…0880 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 08 72 20 ┆ c c c ch h h ha a a ar r r r ┆ 0x0880…08a0 2a 08 2a 08 2a 08 2a 73 08 73 08 73 08 73 31 08 31 08 31 08 31 2c 08 2c 08 2c 08 2c 20 2a 08 2a ┆* * * *s s s s1 1 1 1, , , , * *┆ 0x08a0…08c0 08 2a 08 2a 73 08 73 08 73 08 73 32 08 32 08 32 08 32 3b 08 3b 08 3b 08 3b 0a 0a 20 20 20 20 20 ┆ * *s s s s2 2 2 2; ; ; ; ┆ 0x08c0…08e0 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 08 72 20 2a 08 2a ┆c c c ch h h ha a a ar r r r * *┆ 0x08e0…0900 08 2a 08 2a 73 08 73 08 73 08 73 74 08 74 08 74 08 74 72 08 72 08 72 08 72 74 08 74 08 74 08 74 ┆ * *s s s st t t tr r r rt t t t┆ 0x0900…0920 6f 08 6f 08 6f 08 6f 6b 08 6b 08 6b 08 6b 20 28 08 28 08 28 08 28 73 08 73 08 73 08 73 31 08 31 ┆o o o ok k k k ( ( ( (s s s s1 1┆ 0x0920…0940 08 31 08 31 2c 08 2c 08 2c 08 2c 20 73 08 73 08 73 08 73 32 08 32 08 32 08 32 29 08 29 08 29 08 ┆ 1 1, , , , s s s s2 2 2 2) ) ) ┆ 0x0940…0960 29 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 ┆) c c c ch h h ha a a ar r ┆ 0x0960…0980 72 08 72 20 2a 08 2a 08 2a 08 2a 73 08 73 08 73 08 73 31 08 31 08 31 08 31 2c 08 2c 08 2c 08 2c ┆r r * * * *s s s s1 1 1 1, , , ,┆ 0x0980…09a0 20 2a 08 2a 08 2a 08 2a 73 08 73 08 73 08 73 32 08 32 08 32 08 32 3b 08 3b 08 3b 08 3b 0a 0a 44 ┆ * * * *s s s s2 2 2 2; ; ; ; D┆ 0x09a0…09c0 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 52 ┆ D D DE E E ES S S SC C C CR R R┆ 0x09c0…09e0 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 08 ┆ RI I I IP P P PT T T TI I I IO ┆ 0x09e0…0a00 4f 08 4f 08 4f 4e 08 4e 08 4e 08 4e 0a 20 20 20 20 20 54 68 65 20 61 72 67 75 6d 65 6e 74 73 20 ┆O O ON N N N The arguments ┆ 0x0a00…0a20 5f 08 73 5f 08 31 2c 20 5f 08 73 5f 08 32 20 61 6e 64 20 5f 08 73 20 70 6f 69 6e 74 20 74 6f 20 ┆_ s_ 1, _ s_ 2 and _ s point to ┆ 0x0a20…0a40 73 74 72 69 6e 67 73 20 28 61 72 72 61 79 73 20 6f 66 20 63 68 61 72 2d 0a 20 20 20 20 20 61 63 ┆strings (arrays of char- ac┆ 0x0a40…0a60 74 65 72 73 20 74 65 72 6d 69 6e 61 74 65 64 20 62 79 20 61 20 6e 75 6c 6c 20 63 68 61 72 61 63 ┆ters terminated by a null charac┆ 0x0a60…0a80 74 65 72 29 2e 20 20 54 68 65 20 66 75 6e 63 74 69 6f 6e 73 0a 20 20 20 20 20 5f 08 73 5f 08 74 ┆ter). The functions _ s_ t┆ 0x0a80…0aa0 5f 08 72 5f 08 63 5f 08 61 5f 08 74 5f 08 6e 20 61 6e 64 20 5f 08 73 5f 08 74 5f 08 72 5f 08 63 ┆_ r_ c_ a_ t_ n and _ s_ t_ r_ c┆ 0x0aa0…0ac0 5f 08 70 5f 08 79 5f 08 6e 20 61 6c 74 65 72 20 5f 08 73 5f 08 31 2e 20 20 54 68 65 73 65 20 66 ┆_ p_ y_ n alter _ s_ 1. These f┆ 0x0ac0…0ae0 75 6e 63 74 69 6f 6e 73 20 64 6f 20 6e 6f 74 20 63 68 65 63 6b 0a 20 20 20 20 20 66 6f 72 20 6f ┆unctions do not check for o┆ 0x0ae0…0b00 76 65 72 66 6c 6f 77 20 6f 66 20 74 68 65 20 61 72 72 61 79 20 70 6f 69 6e 74 65 64 20 74 6f 20 ┆verflow of the array pointed to ┆ 0x0b00…0b20 62 79 20 5f 08 73 5f 08 31 2e 0a 0a 20 20 20 20 20 5f 08 73 5f 08 74 5f 08 72 5f 08 63 5f 08 61 ┆by _ s_ 1. _ s_ t_ r_ c_ a┆ 0x0b20…0b40 5f 08 74 5f 08 6e 20 61 70 70 65 6e 64 73 20 61 74 20 6d 6f 73 74 2c 20 5f 08 6e 20 63 68 61 72 ┆_ t_ n appends at most, _ n char┆ 0x0b40…0b60 61 63 74 65 72 73 20 66 72 6f 6d 20 5f 08 73 5f 08 32 20 74 6f 20 74 68 65 20 65 6e 64 20 6f 66 ┆acters from _ s_ 2 to the end of┆ 0x0b60…0b80 0a 20 20 20 20 20 5f 08 73 5f 08 31 2e 20 20 49 74 20 72 65 74 75 72 6e 73 20 61 20 70 6f 69 6e ┆ _ s_ 1. It returns a poin┆ 0x0b80…0ba0 74 65 72 20 74 6f 20 74 68 65 20 6e 75 6c 6c 2d 74 65 72 6d 69 6e 61 74 65 64 20 72 65 73 75 6c ┆ter to the null-terminated resul┆ 0x0ba0…0bc0 74 2e 0a 0a 20 20 20 20 20 5f 08 73 5f 08 74 5f 08 72 5f 08 63 5f 08 6d 5f 08 70 5f 08 6e 20 63 ┆t. _ s_ t_ r_ c_ m_ p_ n c┆ 0x0bc0…0be0 6f 6d 70 61 72 65 73 20 69 74 73 20 61 72 67 75 6d 65 6e 74 73 20 61 6e 64 20 72 65 74 75 72 6e ┆ompares its arguments and return┆ 0x0be0…0c00 73 20 61 6e 20 69 6e 74 65 67 65 72 20 6c 65 73 73 0a 20 20 20 20 20 74 68 61 6e 2c 20 65 71 75 ┆s an integer less than, equ┆ 0x0c00…0c20 61 6c 20 74 6f 2c 20 6f 72 20 67 72 65 61 74 65 72 20 74 68 61 6e 20 30 2c 20 64 65 70 65 6e 64 ┆al to, or greater than 0, depend┆ 0x0c20…0c40 69 6e 67 20 6f 6e 20 77 68 65 74 68 65 72 20 5f 08 73 5f 08 31 0a 20 20 20 20 20 69 73 20 6c 65 ┆ing on whether _ s_ 1 is le┆ 0x0c40…0c60 78 69 63 61 6c 6c 79 20 6c 65 73 73 20 74 68 61 6e 2c 20 65 71 75 61 6c 20 74 6f 2c 20 6f 72 20 ┆xically less than, equal to, or ┆ 0x0c60…0c80 67 72 65 61 74 65 72 20 74 68 61 6e 20 5f 08 73 5f 08 32 2c 20 63 68 65 63 6b 2d 0a 20 20 20 20 ┆greater than _ s_ 2, check- ┆ 0x0c80…0ca0 20 69 6e 67 20 28 61 74 20 6d 6f 73 74 29 20 5f 08 6e 20 63 68 61 72 61 63 74 65 72 73 2e 0a 0a ┆ ing (at most) _ n characters. ┆ 0x0ca0…0cc0 20 20 20 20 20 46 72 6f 6d 20 73 74 72 69 6e 67 20 5f 08 73 5f 08 32 20 74 6f 20 5f 08 73 5f 08 ┆ From string _ s_ 2 to _ s_ ┆ 0x0cc0…0ce0 31 2c 20 5f 08 73 5f 08 74 5f 08 72 5f 08 63 5f 08 70 5f 08 79 5f 08 6e 20 63 6f 70 69 65 73 20 ┆1, _ s_ t_ r_ c_ p_ y_ n copies ┆ 0x0ce0…0d00 65 78 61 63 74 6c 79 20 5f 08 6e 20 63 68 61 72 61 63 74 65 72 73 2c 0a 20 20 20 20 20 74 72 75 ┆exactly _ n characters, tru┆ 0x0d00…0d20 6e 63 61 74 69 6e 67 20 5f 08 73 5f 08 32 20 6f 72 20 61 64 64 69 6e 67 20 6e 75 6c 6c 20 63 68 ┆ncating _ s_ 2 or adding null ch┆ 0x0d20…0d40 61 72 61 63 74 65 72 73 20 74 6f 20 5f 08 73 5f 08 31 20 69 66 20 6e 65 63 65 73 73 61 72 79 2e ┆aracters to _ s_ 1 if necessary.┆ 0x0d40…0d60 0a 20 20 20 20 20 54 68 65 20 72 65 73 75 6c 74 20 77 69 6c 6c 20 6e 6f 74 20 62 65 20 6e 75 6c ┆ The result will not be nul┆ 0x0d60…0d80 6c 2d 74 65 72 6d 69 6e 61 74 65 64 20 69 66 20 74 68 65 20 6c 65 6e 67 74 68 20 6f 66 20 5f 08 ┆l-terminated if the length of _ ┆ 0x0d80…0da0 73 5f 08 32 0a 20 20 20 20 20 69 73 20 5f 08 6e 20 6f 72 20 6d 6f 72 65 2e 20 20 5f 08 73 5f 08 ┆s_ 2 is _ n or more. _ s_ ┆ 0x0da0…0dc0 74 5f 08 72 5f 08 63 5f 08 70 5f 08 79 5f 08 6e 20 66 75 6e 63 74 69 6f 6e 20 72 65 74 75 72 6e ┆t_ r_ c_ p_ y_ n function return┆ 0x0dc0…0de0 73 20 5f 08 73 5f 08 31 2e 0a 0a 20 20 20 20 20 5f 08 73 5f 08 74 5f 08 72 5f 08 63 5f 08 68 5f ┆s _ s_ 1. _ s_ t_ r_ c_ h_┆ 0x0de0…0e00 08 72 20 28 5f 08 73 5f 08 74 5f 08 72 5f 08 72 5f 08 63 5f 08 68 5f 08 72 29 20 72 65 74 75 72 ┆ r (_ s_ t_ r_ r_ c_ h_ r) retur┆ 0x0e00…0e20 6e 73 20 61 20 70 6f 69 6e 74 65 72 20 74 6f 20 74 68 65 20 66 69 72 73 74 20 28 6c 61 73 74 29 ┆ns a pointer to the first (last)┆ 0x0e20…0e40 0a 20 20 20 20 20 6f 63 63 75 72 72 65 6e 63 65 20 6f 66 20 63 68 61 72 61 63 74 65 72 20 5f 08 ┆ occurrence of character _ ┆ 0x0e40…0e60 63 20 69 6e 20 73 74 72 69 6e 67 20 5f 08 73 2c 20 6f 72 20 61 20 4e 55 4c 4c 20 70 6f 69 6e 74 ┆c in string _ s, or a NULL point┆ 0x0e60…0e80 65 72 20 69 66 0a 20 20 20 20 20 5f 08 63 20 64 6f 65 73 20 6e 6f 74 20 6f 63 63 75 72 20 69 6e ┆er if _ c does not occur in┆ 0x0e80…0ea0 20 74 68 65 20 73 74 72 69 6e 67 2e 20 20 54 68 65 20 6e 75 6c 6c 20 63 68 61 72 61 63 74 65 72 ┆ the string. The null character┆ 0x0ea0…0ec0 20 74 65 72 2d 0a 20 20 20 20 20 6d 69 6e 61 74 69 6e 67 20 61 20 73 74 72 69 6e 67 20 69 73 20 ┆ ter- minating a string is ┆ 0x0ec0…0ee0 63 6f 6e 73 69 64 65 72 65 64 20 74 6f 20 62 65 20 70 61 72 74 20 6f 66 20 74 68 65 20 73 74 72 ┆considered to be part of the str┆ 0x0ee0…0f00 69 6e 67 2e 0a 0a 0a 0a 0a 0a 0a 0a 20 20 20 20 20 5f 08 73 5f 08 74 5f 08 72 5f 08 70 5f 08 62 ┆ing. _ s_ t_ r_ p_ b┆ 0x0f00…0f20 5f 08 72 5f 08 6b 20 72 65 74 75 72 6e 73 20 61 20 70 6f 69 6e 74 65 72 20 74 6f 20 74 68 65 20 ┆_ r_ k returns a pointer to the ┆ 0x0f20…0f40 66 69 72 73 74 20 6f 63 63 75 72 72 65 6e 63 65 20 69 6e 20 73 74 72 69 6e 67 0a 20 20 20 20 20 ┆first occurrence in string ┆ 0x0f40…0f60 5f 08 73 5f 08 31 20 6f 66 20 61 6e 79 20 63 68 61 72 61 63 74 65 72 20 66 72 6f 6d 20 73 74 72 ┆_ s_ 1 of any character from str┆ 0x0f60…0f80 69 6e 67 20 5f 08 73 5f 08 32 2c 20 6f 72 20 61 20 4e 55 4c 4c 20 70 6f 69 6e 74 65 72 20 69 66 ┆ing _ s_ 2, or a NULL pointer if┆ 0x0f80…0fa0 20 6e 6f 0a 20 20 20 20 20 63 68 61 72 61 63 74 65 72 20 66 72 6f 6d 20 5f 08 73 5f 08 32 20 65 ┆ no character from _ s_ 2 e┆ 0x0fa0…0fc0 78 69 73 74 73 20 69 6e 20 5f 08 73 5f 08 31 2e 0a 0a 20 20 20 20 20 5f 08 73 5f 08 74 5f 08 72 ┆xists in _ s_ 1. _ s_ t_ r┆ 0x0fc0…0fe0 5f 08 73 5f 08 70 5f 08 6e 20 28 5f 08 73 5f 08 74 5f 08 72 5f 08 63 5f 08 73 5f 08 70 5f 08 6e ┆_ s_ p_ n (_ s_ t_ r_ c_ s_ p_ n┆ 0x0fe0…1000 29 20 72 65 74 75 72 6e 73 20 74 68 65 20 6c 65 6e 67 74 68 20 6f 66 20 74 68 65 20 69 6e 69 74 ┆) returns the length of the init┆ 0x1000…1020 69 61 6c 20 73 65 67 6d 65 6e 74 0a 20 20 20 20 20 6f 66 20 73 74 72 69 6e 67 20 5f 08 73 5f 08 ┆ial segment of string _ s_ ┆ 0x1020…1040 31 20 77 68 69 63 68 20 63 6f 6e 73 69 73 74 73 20 65 6e 74 69 72 65 6c 79 20 6f 66 20 63 68 61 ┆1 which consists entirely of cha┆ 0x1040…1060 72 61 63 74 65 72 73 20 66 72 6f 6d 20 28 6e 6f 74 0a 20 20 20 20 20 66 72 6f 6d 29 20 73 74 72 ┆racters from (not from) str┆ 0x1060…1080 69 6e 67 20 5f 08 73 5f 08 32 2e 0a 0a 20 20 20 20 20 5f 08 73 5f 08 74 5f 08 72 5f 08 74 5f 08 ┆ing _ s_ 2. _ s_ t_ r_ t_ ┆ 0x1080…10a0 6f 5f 08 6b 20 63 6f 6e 73 69 64 65 72 73 20 74 68 65 20 73 74 72 69 6e 67 20 5f 08 73 5f 08 31 ┆o_ k considers the string _ s_ 1┆ 0x10a0…10c0 20 74 6f 20 63 6f 6e 73 69 73 74 20 6f 66 20 61 20 73 65 71 75 65 6e 63 65 20 6f 66 0a 20 20 20 ┆ to consist of a sequence of ┆ 0x10c0…10e0 20 20 7a 65 72 6f 20 6f 72 20 6d 6f 72 65 20 74 65 78 74 20 74 6f 6b 65 6e 73 20 73 65 70 61 72 ┆ zero or more text tokens separ┆ 0x10e0…1100 61 74 65 64 20 62 79 20 73 70 61 6e 73 20 6f 66 20 6f 6e 65 20 6f 72 20 6d 6f 72 65 0a 20 20 20 ┆ated by spans of one or more ┆ 0x1100…1120 20 20 63 68 61 72 61 63 74 65 72 73 20 66 72 6f 6d 20 74 68 65 20 73 65 70 61 72 61 74 6f 72 20 ┆ characters from the separator ┆ 0x1120…1140 73 74 72 69 6e 67 20 5f 08 73 5f 08 32 2e 20 20 54 68 65 20 66 69 72 73 74 20 63 61 6c 6c 0a 20 ┆string _ s_ 2. The first call ┆ 0x1140…1160 20 20 20 20 28 77 69 74 68 20 70 6f 69 6e 74 65 72 20 5f 08 73 5f 08 31 20 73 70 65 63 69 66 69 ┆ (with pointer _ s_ 1 specifi┆ 0x1160…1180 65 64 29 20 72 65 74 75 72 6e 73 20 61 20 70 6f 69 6e 74 65 72 20 74 6f 20 74 68 65 20 66 69 72 ┆ed) returns a pointer to the fir┆ 0x1180…11a0 73 74 0a 20 20 20 20 20 63 68 61 72 61 63 74 65 72 20 6f 66 20 74 68 65 20 66 69 72 73 74 20 74 ┆st character of the first t┆ 0x11a0…11c0 6f 6b 65 6e 2c 20 61 6e 64 20 77 69 6c 6c 20 68 61 76 65 20 77 72 69 74 74 65 6e 20 61 20 6e 75 ┆oken, and will have written a nu┆ 0x11c0…11e0 6c 6c 0a 20 20 20 20 20 63 68 61 72 61 63 74 65 72 20 69 6e 74 6f 20 5f 08 73 5f 08 31 20 69 6d ┆ll character into _ s_ 1 im┆ 0x11e0…1200 6d 65 64 69 61 74 65 6c 79 20 66 6f 6c 6c 6f 77 69 6e 67 20 74 68 65 20 72 65 74 75 72 6e 65 64 ┆mediately following the returned┆ 0x1200…1220 20 74 6f 6b 65 6e 2e 0a 20 20 20 20 20 54 68 65 20 66 75 6e 63 74 69 6f 6e 20 6b 65 65 70 73 20 ┆ token. The function keeps ┆ 0x1220…1240 74 72 61 63 6b 20 6f 66 20 69 74 73 20 70 6f 73 69 74 69 6f 6e 20 69 6e 20 74 68 65 20 73 74 72 ┆track of its position in the str┆ 0x1240…1260 69 6e 67 0a 20 20 20 20 20 62 65 74 77 65 65 6e 20 73 65 70 61 72 61 74 65 20 63 61 6c 6c 73 2e ┆ing between separate calls.┆ 0x1260…1280 20 20 54 68 65 72 65 66 6f 72 65 2c 20 73 75 62 73 65 71 75 65 6e 74 20 63 61 6c 6c 73 20 28 77 ┆ Therefore, subsequent calls (w┆ 0x1280…12a0 68 69 63 68 0a 20 20 20 20 20 6d 75 73 74 20 62 65 20 6d 61 64 65 20 77 69 74 68 20 74 68 65 20 ┆hich must be made with the ┆ 0x12a0…12c0 66 69 72 73 74 20 61 72 67 75 6d 65 6e 74 20 61 20 4e 55 4c 4c 20 70 6f 69 6e 74 65 72 29 20 77 ┆first argument a NULL pointer) w┆ 0x12c0…12e0 6f 72 6b 0a 20 20 20 20 20 74 68 72 6f 75 67 68 20 74 68 65 20 73 74 72 69 6e 67 20 5f 08 73 5f ┆ork through the string _ s_┆ 0x12e0…1300 08 31 20 69 6d 6d 65 64 69 61 74 65 6c 79 20 66 6f 6c 6c 6f 77 69 6e 67 20 74 68 61 74 20 74 6f ┆ 1 immediately following that to┆ 0x1300…1320 6b 65 6e 2e 20 20 49 6e 0a 20 20 20 20 20 74 68 69 73 20 77 61 79 20 73 75 62 73 65 71 75 65 6e ┆ken. In this way subsequen┆ 0x1320…1340 74 20 63 61 6c 6c 73 20 77 6f 72 6b 20 74 68 72 6f 75 67 68 20 74 68 65 20 73 74 72 69 6e 67 20 ┆t calls work through the string ┆ 0x1340…1360 5f 08 73 5f 08 31 20 75 6e 74 69 6c 0a 20 20 20 20 20 6e 6f 20 74 6f 6b 65 6e 73 20 72 65 6d 61 ┆_ s_ 1 until no tokens rema┆ 0x1360…1380 69 6e 2e 20 20 54 68 65 20 73 65 70 61 72 61 74 6f 72 20 73 74 72 69 6e 67 20 5f 08 73 5f 08 32 ┆in. The separator string _ s_ 2┆ 0x1380…13a0 20 6d 61 79 20 62 65 20 64 69 66 66 65 72 65 6e 74 0a 20 20 20 20 20 66 72 6f 6d 20 63 61 6c 6c ┆ may be different from call┆ 0x13a0…13c0 20 74 6f 20 63 61 6c 6c 2e 20 20 57 68 65 6e 20 6e 6f 20 74 6f 6b 65 6e 20 72 65 6d 61 69 6e 73 ┆ to call. When no token remains┆ 0x13c0…13e0 20 69 6e 20 5f 08 73 5f 08 31 2c 20 61 20 4e 55 4c 4c 0a 20 20 20 20 20 70 6f 69 6e 74 65 72 20 ┆ in _ s_ 1, a NULL pointer ┆ 0x13e0…1400 69 73 20 72 65 74 75 72 6e 65 64 2e 0a 0a 4b 08 4b 08 4b 08 4b 4e 08 4e 08 4e 08 4e 4f 08 4f 08 ┆is returned. K K K KN N N NO O ┆ 0x1400…1420 4f 08 4f 57 08 57 08 57 08 57 4e 08 4e 08 4e 08 4e 20 50 08 50 08 50 08 50 52 08 52 08 52 08 52 ┆O OW W W WN N N N P P P PR R R R┆ 0x1420…1440 4f 08 4f 08 4f 08 4f 42 08 42 08 42 08 42 4c 08 4c 08 4c 08 4c 45 08 45 08 45 08 45 4d 08 4d 08 ┆O O O OB B B BL L L LE E E EM M ┆ 0x1440…1460 4d 08 4d 53 08 53 08 53 08 53 0a 20 20 20 20 20 5f 08 73 5f 08 74 5f 08 72 5f 08 63 5f 08 6d 5f ┆M MS S S S _ s_ t_ r_ c_ m_┆ 0x1460…1480 08 70 5f 08 6e 20 75 73 65 73 20 6e 61 74 69 76 65 20 63 68 61 72 61 63 74 65 72 20 63 6f 6d 70 ┆ p_ n uses native character comp┆ 0x1480…14a0 61 72 69 73 6f 6e 2c 20 77 68 69 63 68 20 69 73 20 73 69 67 6e 65 64 20 6f 6e 0a 20 20 20 20 20 ┆arison, which is signed on ┆ 0x14a0…14c0 50 44 50 2d 31 31 73 2c 20 75 6e 73 69 67 6e 65 64 20 6f 6e 20 6f 74 68 65 72 20 6d 61 63 68 69 ┆PDP-11s, unsigned on other machi┆ 0x14c0…14e0 6e 65 73 2e 0a 0a 20 20 20 20 20 43 68 61 72 61 63 74 65 72 20 6d 6f 76 65 6d 65 6e 74 20 69 73 ┆nes. Character movement is┆ 0x14e0…1500 20 70 65 72 66 6f 72 6d 65 64 20 64 69 66 66 65 72 65 6e 74 6c 79 20 69 6e 20 64 69 66 66 65 72 ┆ performed differently in differ┆ 0x1500…1520 65 6e 74 0a 20 20 20 20 20 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e 73 2e 20 20 54 68 75 73 20 ┆ent implementations. Thus ┆ 0x1520…1540 6f 76 65 72 6c 61 70 70 69 6e 67 20 6d 6f 76 65 73 20 6d 61 79 20 79 69 65 6c 64 0a 20 20 20 20 ┆overlapping moves may yield ┆ 0x1540…1560 20 73 75 72 70 72 69 73 65 73 2e 0a 0a 4d 61 72 63 68 20 31 39 38 39 20 20 20 20 20 20 20 20 20 ┆ surprises. March 1989 ┆ 0x1560…1580 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 6f 67 72 61 6d 6d ┆ TX Programm┆ 0x1580…15a0 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 0a 0a 0a 0a 0a 0a ┆er's Reference ┆ 0x15a0…15ab 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a ┆ ┆