|
|
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: 5035 (0x13ab)
Names: »stdarg.3«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./usr/man/cat3/stdarg.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 73 74 64 61 72 67 28 33 29 0a 0a 0a 0a ┆ions stdarg(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 73 74 64 61 72 67 20 2d 20 68 61 6e 64 6c 65 20 76 61 72 69 61 62 6c 65 20 61 72 67 75 6d ┆ stdarg - handle variable argum┆ 0x00a0…00c0 65 6e 74 20 6c 69 73 74 0a 0a 53 08 53 08 53 08 53 59 08 59 08 59 08 59 4e 08 4e 08 4e 08 4e 54 ┆ent list S S S SY Y Y YN N N NT┆ 0x00c0…00e0 08 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 ┆ T T TA A A AX X X X # # # ┆ 0x00e0…0100 23 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 ┆#i i i in n n nc c c cl l l lu u┆ 0x0100…0120 08 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 ┆ u ud d d de e e e < < < <s s s ┆ 0x0120…0140 73 74 08 74 08 74 08 74 64 08 64 08 64 08 64 61 08 61 08 61 08 61 72 08 72 08 72 08 72 67 08 67 ┆st t t td d d da a a ar r r rg g┆ 0x0140…0160 08 67 08 67 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e 08 3e 08 3e 08 3e 0a 0a 20 20 20 20 20 ┆ g g. . . .h h h h> > > > ┆ 0x0160…0180 76 08 76 08 76 08 76 6f 08 6f 08 6f 08 6f 69 08 69 08 69 08 69 64 08 64 08 64 08 64 20 76 08 76 ┆v v v vo o o oi i i id d d d v v┆ 0x0180…01a0 08 76 08 76 61 08 61 08 61 08 61 5f 08 5f 08 5f 08 5f 73 08 73 08 73 08 73 74 08 74 08 74 08 74 ┆ v va a a a_ _ _ _s s s st t t t┆ 0x01a0…01c0 61 08 61 08 61 08 61 72 08 72 08 72 08 72 74 08 74 08 74 08 74 28 08 28 08 28 08 28 70 08 70 08 ┆a a a ar r r rt t t t( ( ( (p p ┆ 0x01c0…01e0 70 08 70 76 08 76 08 76 08 76 61 08 61 08 61 08 61 72 08 72 08 72 08 72 2c 08 2c 08 2c 08 2c 20 ┆p pv v v va a a ar r r r, , , , ┆ 0x01e0…0200 70 08 70 08 70 08 70 61 08 61 08 61 08 61 72 08 72 08 72 08 72 6d 08 6d 08 6d 08 6d 4e 08 4e 08 ┆p p p pa a a ar r r rm m m mN N ┆ 0x0200…0220 4e 08 4e 29 08 29 08 29 08 29 0a 20 20 20 20 20 76 08 76 08 76 08 76 61 08 61 08 61 08 61 5f 08 ┆N N) ) ) ) v v v va a a a_ ┆ 0x0220…0240 5f 08 5f 08 5f 6c 08 6c 08 6c 08 6c 69 08 69 08 69 08 69 73 08 73 08 73 08 73 74 08 74 08 74 08 ┆_ _ _l l l li i i is s s st t t ┆ 0x0240…0260 74 20 70 08 70 08 70 08 70 76 08 76 08 76 08 76 61 08 61 08 61 08 61 72 08 72 08 72 08 72 3b 08 ┆t p p p pv v v va a a ar r r r; ┆ 0x0260…0280 3b 08 3b 08 3b 0a 0a 20 20 20 20 20 74 08 74 08 74 08 74 79 08 79 08 79 08 79 70 08 70 08 70 08 ┆; ; ; t t t ty y y yp p p ┆ 0x0280…02a0 70 65 08 65 08 65 08 65 20 76 08 76 08 76 08 76 61 08 61 08 61 08 61 5f 08 5f 08 5f 08 5f 61 08 ┆pe e e e v v v va a a a_ _ _ _a ┆ 0x02a0…02c0 61 08 61 08 61 72 08 72 08 72 08 72 67 08 67 08 67 08 67 28 08 28 08 28 08 28 70 08 70 08 70 08 ┆a a ar r r rg g g g( ( ( (p p p ┆ 0x02c0…02e0 70 76 08 76 08 76 08 76 61 08 61 08 61 08 61 72 08 72 08 72 08 72 2c 08 2c 08 2c 08 2c 20 74 08 ┆pv v v va a a ar r r r, , , , t ┆ 0x02e0…0300 74 08 74 08 74 79 08 79 08 79 08 79 70 08 70 08 70 08 70 65 08 65 08 65 08 65 29 08 29 08 29 08 ┆t t ty y y yp p p pe e e e) ) ) ┆ 0x0300…0320 29 0a 20 20 20 20 20 76 08 76 08 76 08 76 61 08 61 08 61 08 61 5f 08 5f 08 5f 08 5f 6c 08 6c 08 ┆) v v v va a a a_ _ _ _l l ┆ 0x0320…0340 6c 08 6c 69 08 69 08 69 08 69 73 08 73 08 73 08 73 74 08 74 08 74 08 74 20 70 08 70 08 70 08 70 ┆l li i i is s s st t t t p p p p┆ 0x0340…0360 76 08 76 08 76 08 76 61 08 61 08 61 08 61 72 08 72 08 72 08 72 3b 08 3b 08 3b 08 3b 0a 0a 20 20 ┆v v v va a a ar r r r; ; ; ; ┆ 0x0360…0380 20 20 20 76 08 76 08 76 08 76 6f 08 6f 08 6f 08 6f 69 08 69 08 69 08 69 64 08 64 08 64 08 64 20 ┆ v v v vo o o oi i i id d d d ┆ 0x0380…03a0 76 08 76 08 76 08 76 61 08 61 08 61 08 61 5f 08 5f 08 5f 08 5f 65 08 65 08 65 08 65 6e 08 6e 08 ┆v v v va a a a_ _ _ _e e e en n ┆ 0x03a0…03c0 6e 08 6e 64 08 64 08 64 08 64 28 08 28 08 28 08 28 70 08 70 08 70 08 70 76 08 76 08 76 08 76 61 ┆n nd d d d( ( ( (p p p pv v v va┆ 0x03c0…03e0 08 61 08 61 08 61 72 08 72 08 72 08 72 29 08 29 08 29 08 29 0a 20 20 20 20 20 76 08 76 08 76 08 ┆ a a ar r r r) ) ) ) v v v ┆ 0x03e0…0400 76 61 08 61 08 61 08 61 5f 08 5f 08 5f 08 5f 6c 08 6c 08 6c 08 6c 69 08 69 08 69 08 69 73 08 73 ┆va a a a_ _ _ _l l l li i i is s┆ 0x0400…0420 08 73 08 73 74 08 74 08 74 08 74 20 70 08 70 08 70 08 70 76 08 76 08 76 08 76 61 08 61 08 61 08 ┆ s st t t t p p p pv v v va a a ┆ 0x0420…0440 61 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 08 45 53 ┆ar r r r; ; ; ; D D D DE E E ES┆ 0x0440…0460 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 50 08 50 ┆ S S SC C C CR R R RI I I IP P P┆ 0x0460…0480 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 4e 0a 20 ┆ PT T T TI I I IO O O ON N N N ┆ 0x0480…04a0 20 20 20 20 54 68 69 73 20 73 65 74 20 6f 66 20 6d 61 63 72 6f 73 20 61 6c 6c 6f 77 73 20 70 6f ┆ This set of macros allows po┆ 0x04a0…04c0 72 74 61 62 6c 65 20 70 72 6f 63 65 64 75 72 65 73 20 74 68 61 74 20 61 63 63 65 70 74 0a 20 20 ┆rtable procedures that accept ┆ 0x04c0…04e0 20 20 20 76 61 72 69 61 62 6c 65 20 6e 75 6d 62 65 72 73 20 6f 66 20 61 72 67 75 6d 65 6e 74 73 ┆ variable numbers of arguments┆ 0x04e0…0500 20 6f 66 20 76 61 72 69 61 62 6c 65 20 74 79 70 65 73 20 74 6f 20 62 65 20 77 72 69 74 2d 0a 20 ┆ of variable types to be writ- ┆ 0x0500…0520 20 20 20 20 74 65 6e 2e 20 20 52 6f 75 74 69 6e 65 73 20 74 68 61 74 20 68 61 76 65 20 76 61 72 ┆ ten. Routines that have var┆ 0x0520…0540 69 61 62 6c 65 20 61 72 67 75 6d 65 6e 74 20 6c 69 73 74 73 20 28 73 75 63 68 20 61 73 0a 20 20 ┆iable argument lists (such as ┆ 0x0540…0560 20 20 20 5f 08 70 5f 08 72 5f 08 69 5f 08 6e 5f 08 74 5f 08 66 29 20 62 75 74 20 64 6f 20 6e 6f ┆ _ p_ r_ i_ n_ t_ f) but do no┆ 0x0560…0580 74 20 75 73 65 20 5f 08 73 5f 08 74 5f 08 64 5f 08 61 5f 08 72 5f 08 67 20 61 72 65 20 69 6e 68 ┆t use _ s_ t_ d_ a_ r_ g are inh┆ 0x0580…05a0 65 72 65 6e 74 6c 79 20 6e 6f 6e 2d 70 6f 72 74 61 62 6c 65 2c 0a 20 20 20 20 20 61 73 20 64 69 ┆erently non-portable, as di┆ 0x05a0…05c0 66 66 65 72 65 6e 74 20 6d 61 63 68 69 6e 65 73 20 75 73 65 20 64 69 66 66 65 72 65 6e 74 20 61 ┆fferent machines use different a┆ 0x05c0…05e0 72 67 75 6d 65 6e 74 2d 70 61 73 73 69 6e 67 20 63 6f 6e 76 65 6e 2d 0a 20 20 20 20 20 74 69 6f ┆rgument-passing conven- tio┆ 0x05e0…0600 6e 73 2e 0a 0a 20 20 20 20 20 5f 08 76 5f 08 61 5f 5f 08 6c 5f 08 69 5f 08 73 5f 08 74 20 69 73 ┆ns. _ v_ a__ l_ i_ s_ t is┆ 0x0600…0620 20 61 20 74 79 70 65 20 64 65 66 69 6e 65 64 20 66 6f 72 20 74 68 65 20 76 61 72 69 61 62 6c 65 ┆ a type defined for the variable┆ 0x0620…0640 20 75 73 65 64 20 74 6f 20 74 72 61 76 65 72 73 65 0a 20 20 20 20 20 74 68 65 20 6c 69 73 74 2e ┆ used to traverse the list.┆ 0x0640…0660 0a 0a 20 20 20 20 20 54 68 65 20 5f 08 76 5f 08 61 5f 5f 08 73 5f 08 74 5f 08 61 5f 08 72 5f 08 ┆ The _ v_ a__ s_ t_ a_ r_ ┆ 0x0660…0680 74 28 29 20 6d 61 63 72 6f 20 69 73 20 69 6e 76 6f 6b 65 64 20 62 65 66 6f 72 65 20 61 6e 79 20 ┆t() macro is invoked before any ┆ 0x0680…06a0 61 63 63 65 73 73 20 74 6f 20 74 68 65 0a 20 20 20 20 20 75 6e 6e 61 6d 65 64 20 61 72 67 75 6d ┆access to the unnamed argum┆ 0x06a0…06c0 65 6e 74 73 20 61 6e 64 20 69 6e 69 74 69 61 6c 69 7a 65 73 20 5f 08 70 5f 08 76 5f 08 61 5f 08 ┆ents and initializes _ p_ v_ a_ ┆ 0x06c0…06e0 72 20 66 6f 72 20 73 75 62 73 65 71 75 65 6e 74 20 75 73 65 20 62 79 0a 20 20 20 20 20 5f 08 76 ┆r for subsequent use by _ v┆ 0x06e0…0700 5f 08 61 5f 5f 08 61 5f 08 72 5f 08 67 28 29 20 61 6e 64 20 5f 08 76 5f 08 61 5f 5f 08 65 5f 08 ┆_ a__ a_ r_ g() and _ v_ a__ e_ ┆ 0x0700…0720 6e 5f 08 64 28 29 2e 20 54 68 65 20 70 61 72 61 6d 65 74 65 72 20 5f 08 70 5f 08 61 5f 08 72 5f ┆n_ d(). The parameter _ p_ a_ r_┆ 0x0720…0740 08 6d 5f 08 4e 20 69 73 20 74 68 65 20 69 64 65 6e 74 69 66 69 65 72 0a 20 20 20 20 20 6f 66 20 ┆ m_ N is the identifier of ┆ 0x0740…0760 74 68 65 20 72 69 67 68 74 6d 6f 73 74 20 70 61 72 61 6d 65 74 65 72 20 69 6e 20 74 68 65 20 76 ┆the rightmost parameter in the v┆ 0x0760…0780 61 72 69 61 62 6c 65 20 70 61 72 61 6d 65 74 65 72 20 6c 69 73 74 20 69 6e 0a 20 20 20 20 20 74 ┆ariable parameter list in t┆ 0x0780…07a0 68 65 20 66 75 6e 63 74 69 6f 6e 20 64 65 66 69 6e 69 74 69 6f 6e 20 28 74 68 65 20 6f 6e 65 20 ┆he function definition (the one ┆ 0x07a0…07c0 6a 75 73 74 20 62 65 66 6f 72 65 20 74 68 65 20 2c 08 2c 08 2c 08 2c 20 2e 08 2e 08 2e 08 2e 20 ┆just before the , , , , . . . . ┆ 0x07c0…07e0 2e 08 2e 08 2e 08 2e 20 2e 08 2e 08 2e 08 2e 29 2e 0a 20 20 20 20 20 49 66 20 74 68 69 73 20 70 ┆. . . . . . . .). If this p┆ 0x07e0…0800 61 72 61 6d 65 74 65 72 20 69 73 20 64 65 63 6c 61 72 65 64 20 77 69 74 68 20 74 68 65 20 72 08 ┆arameter is declared with the r ┆ 0x0800…0820 72 08 72 08 72 65 08 65 08 65 08 65 67 08 67 08 67 08 67 69 08 69 08 69 08 69 73 08 73 08 73 08 ┆r r re e e eg g g gi i i is s s ┆ 0x0820…0840 73 74 08 74 08 74 08 74 65 08 65 08 65 08 65 72 08 72 08 72 08 72 20 73 74 6f 72 61 67 65 0a 20 ┆st t t te e e er r r r storage ┆ 0x0840…0860 20 20 20 20 63 6c 61 73 73 20 6f 72 20 77 69 74 68 20 61 20 66 75 6e 63 74 69 6f 6e 20 6f 72 20 ┆ class or with a function or ┆ 0x0860…0880 61 72 72 61 79 20 74 79 70 65 2c 20 6f 72 20 77 69 74 68 20 61 20 74 79 70 65 20 74 68 61 74 0a ┆array type, or with a type that ┆ 0x0880…08a0 20 20 20 20 20 69 73 20 6e 6f 74 20 63 6f 6d 70 61 74 69 62 6c 65 20 77 69 74 68 20 74 68 65 20 ┆ is not compatible with the ┆ 0x08a0…08c0 74 79 70 65 20 74 68 61 74 20 72 65 73 75 6c 74 73 20 61 66 74 65 72 20 61 70 70 6c 69 63 61 2d ┆type that results after applica-┆ 0x08c0…08e0 0a 20 20 20 20 20 74 69 6f 6e 20 6f 66 20 74 68 65 20 64 65 66 61 75 6c 74 20 61 72 67 75 6d 65 ┆ tion of the default argume┆ 0x08e0…0900 6e 74 20 70 72 6f 6d 6f 74 69 6f 6e 73 2c 20 74 68 65 20 62 65 68 61 76 69 6f 72 20 69 73 0a 20 ┆nt promotions, the behavior is ┆ 0x0900…0920 20 20 20 20 75 6e 64 65 66 69 6e 65 64 2e 0a 0a 20 20 20 20 20 54 68 65 20 70 61 72 61 6d 65 74 ┆ undefined. The paramet┆ 0x0920…0940 65 72 20 5f 08 70 5f 08 61 5f 08 72 5f 08 6d 5f 08 4e 20 69 73 20 72 65 71 75 69 72 65 64 20 75 ┆er _ p_ a_ r_ m_ N is required u┆ 0x0940…0960 6e 64 65 72 20 73 74 72 69 63 74 20 41 4e 53 49 20 43 20 63 6f 6d 70 69 6c 61 2d 0a 20 20 20 20 ┆nder strict ANSI C compila- ┆ 0x0960…0980 20 74 69 6f 6e 2e 20 20 49 6e 20 6f 74 68 65 72 20 63 6f 6d 70 69 6c 61 74 69 6f 6e 20 6d 6f 64 ┆ tion. In other compilation mod┆ 0x0980…09a0 65 73 2c 20 5f 08 70 5f 08 61 5f 08 72 5f 08 6d 5f 08 4e 20 6e 65 65 64 20 6e 6f 74 20 62 65 20 ┆es, _ p_ a_ r_ m_ N need not be ┆ 0x09a0…09c0 73 75 70 2d 0a 20 20 20 20 20 70 6c 69 65 64 20 61 6e 64 20 74 68 65 20 73 65 63 6f 6e 64 20 70 ┆sup- plied and the second p┆ 0x09c0…09e0 61 72 61 6d 65 74 65 72 20 74 6f 20 74 68 65 20 5f 08 76 5f 08 61 5f 5f 08 73 5f 08 74 5f 08 61 ┆arameter to the _ v_ a__ s_ t_ a┆ 0x09e0…0a00 5f 08 72 5f 08 74 28 29 20 6d 61 63 72 6f 20 63 61 6e 0a 20 20 20 20 20 62 65 20 6c 65 66 74 20 ┆_ r_ t() macro can be left ┆ 0x0a00…0a20 65 6d 70 74 79 20 28 65 2e 67 2e 2c 20 5f 08 76 5f 08 61 5f 5f 08 73 5f 08 74 5f 08 61 5f 08 72 ┆empty (e.g., _ v_ a__ s_ t_ a_ r┆ 0x0a20…0a40 5f 08 74 28 5f 08 70 5f 08 76 5f 08 61 5f 08 72 2c 29 29 2e 20 54 68 69 73 20 61 6c 6c 6f 77 73 ┆_ t(_ p_ v_ a_ r,)). This allows┆ 0x0a40…0a60 20 66 6f 72 20 72 6f 75 2d 0a 20 20 20 20 20 74 69 6e 65 73 20 74 68 61 74 20 63 6f 6e 74 61 69 ┆ for rou- tines that contai┆ 0x0a60…0a80 6e 20 6e 6f 20 70 61 72 61 6d 65 74 65 72 73 20 62 65 66 6f 72 65 20 74 68 65 20 2e 08 2e 08 2e ┆n no parameters before the . . .┆ 0x0a80…0aa0 08 2e 20 2e 08 2e 08 2e 08 2e 20 2e 08 2e 08 2e 08 2e 20 69 6e 20 74 68 65 0a 20 20 20 20 20 76 ┆ . . . . . . . . . in the v┆ 0x0aa0…0ac0 61 72 69 61 62 6c 65 20 70 61 72 61 6d 65 74 65 72 20 6c 69 73 74 2e 0a 0a 20 20 20 20 20 54 68 ┆ariable parameter list. Th┆ 0x0ac0…0ae0 65 20 5f 08 76 5f 08 61 5f 5f 08 61 5f 08 72 5f 08 67 28 29 20 6d 61 63 72 6f 20 65 78 70 61 6e ┆e _ v_ a__ a_ r_ g() macro expan┆ 0x0ae0…0b00 64 73 20 74 6f 20 61 6e 20 65 78 70 72 65 73 73 69 6f 6e 20 74 68 61 74 20 68 61 73 20 74 68 65 ┆ds to an expression that has the┆ 0x0b00…0b20 0a 20 20 20 20 20 74 79 70 65 20 61 6e 64 20 76 61 6c 75 65 20 6f 66 20 74 68 65 20 6e 65 78 74 ┆ type and value of the next┆ 0x0b20…0b40 20 61 72 67 75 6d 65 6e 74 20 69 6e 20 74 68 65 20 63 61 6c 6c 2e 20 20 54 68 65 20 70 61 72 61 ┆ argument in the call. The para┆ 0x0b40…0b60 6d 2d 0a 20 20 20 20 20 65 74 65 72 20 5f 08 70 5f 08 76 5f 08 61 5f 08 72 20 73 68 6f 75 6c 64 ┆m- eter _ p_ v_ a_ r should┆ 0x0b60…0b80 20 68 61 76 65 20 62 65 65 6e 20 70 72 65 76 69 6f 75 73 6c 79 20 69 6e 69 74 69 61 6c 69 7a 65 ┆ have been previously initialize┆ 0x0b80…0ba0 64 20 62 79 0a 20 20 20 20 20 5f 08 76 5f 08 61 5f 5f 08 73 5f 08 74 5f 08 61 5f 08 72 5f 08 74 ┆d by _ v_ a__ s_ t_ a_ r_ t┆ 0x0ba0…0bc0 28 29 2e 20 20 45 61 63 68 20 69 6e 76 6f 63 61 74 69 6f 6e 20 6f 66 20 5f 08 76 5f 08 61 5f 5f ┆(). Each invocation of _ v_ a__┆ 0x0bc0…0be0 08 61 5f 08 72 5f 08 67 28 29 20 6d 6f 64 69 66 69 65 73 20 5f 08 70 5f 08 76 5f 08 61 5f 08 72 ┆ a_ r_ g() modifies _ p_ v_ a_ r┆ 0x0be0…0c00 20 73 6f 0a 20 20 20 20 20 74 68 61 74 20 74 68 65 20 76 61 6c 75 65 73 20 6f 66 20 73 75 63 63 ┆ so that the values of succ┆ 0x0c00…0c20 65 73 73 69 76 65 20 61 72 67 75 6d 65 6e 74 73 20 61 72 65 20 72 65 74 75 72 6e 65 64 20 69 6e ┆essive arguments are returned in┆ 0x0c20…0c40 0a 20 20 20 20 20 74 75 72 6e 2e 20 20 54 68 65 20 70 61 72 61 6d 65 74 65 72 20 5f 08 74 5f 08 ┆ turn. The parameter _ t_ ┆ 0x0c40…0c60 79 5f 08 70 5f 08 65 20 69 73 20 74 68 65 20 74 79 70 65 20 6e 61 6d 65 20 6f 66 20 74 68 65 20 ┆y_ p_ e is the type name of the ┆ 0x0c60…0c80 6e 65 78 74 20 61 72 67 75 2d 0a 20 20 20 20 20 6d 65 6e 74 20 74 6f 20 62 65 20 72 65 74 75 72 ┆next argu- ment to be retur┆ 0x0c80…0ca0 6e 65 64 2e 20 54 68 65 20 74 79 70 65 20 6e 61 6d 65 20 6d 75 73 74 20 62 65 20 73 70 65 63 69 ┆ned. The type name must be speci┆ 0x0ca0…0cc0 66 69 65 64 20 69 6e 20 73 75 63 68 0a 20 20 20 20 20 61 20 77 61 79 20 73 6f 20 74 68 61 74 20 ┆fied in such a way so that ┆ 0x0cc0…0ce0 74 68 65 20 74 79 70 65 20 6f 66 20 61 20 70 6f 69 6e 74 65 72 20 74 6f 20 61 6e 20 6f 62 6a 65 ┆the type of a pointer to an obje┆ 0x0ce0…0d00 63 74 20 74 68 61 74 20 68 61 73 0a 20 20 20 20 20 74 68 65 20 73 70 65 63 69 66 69 65 64 20 74 ┆ct that has the specified t┆ 0x0d00…0d20 79 70 65 20 63 61 6e 20 62 65 20 6f 62 74 61 69 6e 65 64 20 73 69 6d 70 6c 79 20 62 79 20 70 6f ┆ype can be obtained simply by po┆ 0x0d20…0d40 73 74 66 69 78 69 6e 67 20 61 20 2a 08 2a 08 2a 08 2a 0a 20 20 20 20 20 74 6f 20 5f 08 74 5f 08 ┆stfixing a * * * * to _ t_ ┆ 0x0d40…0d60 79 5f 08 70 5f 08 65 2e 20 20 49 66 20 74 68 65 72 65 20 69 73 20 6e 6f 20 61 63 74 75 61 6c 20 ┆y_ p_ e. If there is no actual ┆ 0x0d60…0d80 6e 65 78 74 20 61 72 67 75 6d 65 6e 74 2c 20 6f 72 20 69 66 20 5f 08 74 5f 08 79 5f 08 70 5f 08 ┆next argument, or if _ t_ y_ p_ ┆ 0x0d80…0da0 65 20 69 73 0a 20 20 20 20 20 6e 6f 74 20 63 6f 6d 70 61 74 69 62 6c 65 20 77 69 74 68 20 74 68 ┆e is not compatible with th┆ 0x0da0…0dc0 65 20 74 79 70 65 20 6f 66 20 74 68 65 20 61 63 74 75 61 6c 20 6e 65 78 74 20 61 72 67 75 6d 65 ┆e type of the actual next argume┆ 0x0dc0…0de0 6e 74 20 28 61 73 0a 20 20 20 20 20 70 72 6f 6d 6f 74 65 64 20 61 63 63 6f 72 64 69 6e 67 20 74 ┆nt (as promoted according t┆ 0x0de0…0e00 6f 20 74 68 65 20 64 65 66 61 75 6c 74 20 61 72 67 75 6d 65 6e 74 20 70 72 6f 6d 6f 74 69 6f 6e ┆o the default argument promotion┆ 0x0e00…0e20 73 29 2c 20 74 68 65 0a 20 20 20 20 20 62 65 68 61 76 69 6f 72 20 69 73 20 75 6e 64 65 66 69 6e ┆s), the behavior is undefin┆ 0x0e20…0e40 65 64 2e 0a 0a 0a 0a 0a 0a 0a 0a 0a 20 20 20 20 20 54 68 65 20 5f 08 76 5f 08 61 5f 5f 08 65 5f ┆ed. The _ v_ a__ e_┆ 0x0e40…0e60 08 6e 5f 08 64 28 29 20 6d 61 63 72 6f 20 69 73 20 75 73 65 64 20 74 6f 20 63 6c 65 61 6e 20 75 ┆ n_ d() macro is used to clean u┆ 0x0e60…0e80 70 2e 0a 0a 20 20 20 20 20 4d 75 6c 74 69 70 6c 65 20 74 72 61 76 65 72 73 61 6c 73 2c 20 65 61 ┆p. Multiple traversals, ea┆ 0x0e80…0ea0 63 68 20 62 72 61 63 6b 65 74 65 64 20 62 79 20 5f 08 76 5f 08 61 5f 5f 08 73 5f 08 74 5f 08 61 ┆ch bracketed by _ v_ a__ s_ t_ a┆ 0x0ea0…0ec0 5f 08 72 5f 08 74 20 61 6e 64 20 5f 08 76 5f 08 61 5f 5f 08 65 5f 08 6e 5f 08 64 2c 0a 20 20 20 ┆_ r_ t and _ v_ a__ e_ n_ d, ┆ 0x0ec0…0ee0 20 20 61 72 65 20 70 6f 73 73 69 62 6c 65 2e 0a 0a 53 08 53 08 53 08 53 45 08 45 08 45 08 45 45 ┆ are possible. S S S SE E E EE┆ 0x0ee0…0f00 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 53 08 53 4f 08 4f 08 ┆ E E E A A A AL L L LS S S SO O ┆ 0x0f00…0f20 4f 08 4f 0a 20 20 20 20 20 4c 69 62 72 61 72 79 20 46 75 6e 63 74 69 6f 6e 73 20 28 33 29 3a 20 ┆O O Library Functions (3): ┆ 0x0f20…0f40 76 70 72 69 6e 74 66 2c 20 76 66 70 72 69 6e 74 66 2c 20 76 73 70 72 69 6e 74 66 0a 0a 4e 08 4e ┆vprintf, vfprintf, vsprintf N N┆ 0x0f40…0f60 08 4e 08 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 ┆ N NO O O OT T T TE E E ES S S S┆ 0x0f60…0f80 0a 20 20 20 20 20 49 74 20 69 73 20 75 70 20 74 6f 20 74 68 65 20 63 61 6c 6c 69 6e 67 20 72 6f ┆ It is up to the calling ro┆ 0x0f80…0fa0 75 74 69 6e 65 20 74 6f 20 73 70 65 63 69 66 79 20 69 6e 20 73 6f 6d 65 20 6d 61 6e 6e 65 72 0a ┆utine to specify in some manner ┆ 0x0fa0…0fc0 20 20 20 20 20 68 6f 77 20 6d 61 6e 79 20 61 72 67 75 6d 65 6e 74 73 20 74 68 65 72 65 20 61 72 ┆ how many arguments there ar┆ 0x0fc0…0fe0 65 2c 20 73 69 6e 63 65 20 69 74 20 69 73 20 6e 6f 74 20 61 6c 77 61 79 73 20 70 6f 73 73 69 2d ┆e, since it is not always possi-┆ 0x0fe0…1000 0a 20 20 20 20 20 62 6c 65 20 74 6f 20 64 65 74 65 72 6d 69 6e 65 20 74 68 65 20 6e 75 6d 62 65 ┆ ble to determine the numbe┆ 0x1000…1020 72 20 6f 66 20 61 72 67 75 6d 65 6e 74 73 20 66 72 6f 6d 20 74 68 65 20 73 74 61 63 6b 0a 20 20 ┆r of arguments from the stack ┆ 0x1020…1040 20 20 20 66 72 61 6d 65 2e 20 20 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 5f 08 65 5f 08 78 5f 08 ┆ frame. For example, _ e_ x_ ┆ 0x1040…1060 65 5f 08 63 5f 08 6c 20 69 73 20 70 61 73 73 65 64 20 61 20 7a 65 72 6f 20 70 6f 69 6e 74 65 72 ┆e_ c_ l is passed a zero pointer┆ 0x1060…1080 20 74 6f 20 73 69 67 2d 0a 20 20 20 20 20 6e 61 6c 20 74 68 65 20 65 6e 64 20 6f 66 20 74 68 65 ┆ to sig- nal the end of the┆ 0x1080…10a0 20 6c 69 73 74 2e 20 20 5f 08 70 5f 08 72 5f 08 69 5f 08 6e 5f 08 74 5f 08 66 20 63 61 6e 20 74 ┆ list. _ p_ r_ i_ n_ t_ f can t┆ 0x10a0…10c0 65 6c 6c 20 68 6f 77 20 6d 61 6e 79 20 61 72 67 75 6d 65 6e 74 73 0a 20 20 20 20 20 74 68 65 72 ┆ell how many arguments ther┆ 0x10c0…10e0 65 20 61 72 65 20 62 79 20 74 68 65 20 66 6f 72 6d 61 74 2e 20 20 49 74 20 69 73 20 6e 6f 6e 2d ┆e are by the format. It is non-┆ 0x10e0…1100 70 6f 72 74 61 62 6c 65 20 74 6f 20 73 70 65 63 69 66 79 20 61 0a 20 20 20 20 20 73 65 63 6f 6e ┆portable to specify a secon┆ 0x1100…1120 64 20 61 72 67 75 6d 65 6e 74 20 6f 66 20 63 08 63 08 63 08 63 68 08 68 08 68 08 68 61 08 61 08 ┆d argument of c c c ch h h ha a ┆ 0x1120…1140 61 08 61 72 08 72 08 72 08 72 2c 20 73 08 73 08 73 08 73 68 08 68 08 68 08 68 6f 08 6f 08 6f 08 ┆a ar r r r, s s s sh h h ho o o ┆ 0x1140…1160 6f 72 08 72 08 72 08 72 74 08 74 08 74 08 74 2c 20 6f 72 20 66 08 66 08 66 08 66 6c 08 6c 08 6c ┆or r r rt t t t, or f f f fl l l┆ 0x1160…1180 08 6c 6f 08 6f 08 6f 08 6f 61 08 61 08 61 08 61 74 08 74 08 74 08 74 20 74 6f 20 5f 08 76 5f 08 ┆ lo o o oa a a at t t t to _ v_ ┆ 0x1180…11a0 61 5f 5f 08 61 5f 08 72 5f 08 67 2c 20 62 65 63 61 75 73 65 0a 20 20 20 20 20 61 72 67 75 6d 65 ┆a__ a_ r_ g, because argume┆ 0x11a0…11c0 6e 74 73 20 73 65 65 6e 20 62 79 20 74 68 65 20 63 61 6c 6c 65 64 20 66 75 6e 63 74 69 6f 6e 20 ┆nts seen by the called function ┆ 0x11c0…11e0 61 72 65 20 6e 6f 74 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 ┆are not c c c ch h h ha a a ar r┆ 0x11e0…1200 08 72 08 72 2c 20 73 08 73 08 73 08 73 68 08 68 08 68 08 68 6f 08 6f 08 6f 08 6f 72 08 72 08 72 ┆ r r, s s s sh h h ho o o or r r┆ 0x1200…1220 08 72 74 08 74 08 74 08 74 2c 0a 20 20 20 20 20 6f 72 20 66 08 66 08 66 08 66 6c 08 6c 08 6c 08 ┆ rt t t t, or f f f fl l l ┆ 0x1220…1240 6c 6f 08 6f 08 6f 08 6f 61 08 61 08 61 08 61 74 08 74 08 74 08 74 2e 20 20 43 20 63 6f 6e 76 65 ┆lo o o oa a a at t t t. C conve┆ 0x1240…1260 72 74 73 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 ┆rts c c c ch h h ha a a ar r r r┆ 0x1260…1280 20 61 6e 64 20 73 08 73 08 73 08 73 68 08 68 08 68 08 68 6f 08 6f 08 6f 08 6f 72 08 72 08 72 08 ┆ and s s s sh h h ho o o or r r ┆ 0x1280…12a0 72 74 08 74 08 74 08 74 20 61 72 67 75 6d 65 6e 74 73 20 74 6f 20 69 08 69 08 69 08 69 6e 08 6e ┆rt t t t arguments to i i i in n┆ 0x12a0…12c0 08 6e 08 6e 74 08 74 08 74 08 74 20 61 6e 64 0a 20 20 20 20 20 63 6f 6e 76 65 72 74 73 20 66 08 ┆ n nt t t t and converts f ┆ 0x12c0…12e0 66 08 66 08 66 6c 08 6c 08 6c 08 6c 6f 08 6f 08 6f 08 6f 61 08 61 08 61 08 61 74 08 74 08 74 08 ┆f f fl l l lo o o oa a a at t t ┆ 0x12e0…1300 74 20 61 72 67 75 6d 65 6e 74 73 20 74 6f 20 64 08 64 08 64 08 64 6f 08 6f 08 6f 08 6f 75 08 75 ┆t arguments to d d d do o o ou u┆ 0x1300…1320 08 75 08 75 62 08 62 08 62 08 62 6c 08 6c 08 6c 08 6c 65 08 65 08 65 08 65 20 62 65 66 6f 72 65 ┆ u ub b b bl l l le e e e before┆ 0x1320…1340 20 70 61 73 73 69 6e 67 20 74 68 65 6d 20 74 6f 20 61 0a 20 20 20 20 20 66 75 6e 63 74 69 6f 6e ┆ passing them to a function┆ 0x1340…1360 2e 0a 0a 44 65 63 65 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 ┆. December 1990 ┆ 0x1360…1380 20 20 20 20 20 20 20 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 ┆ TX Programmer's Refer┆ 0x1380…13a0 65 6e 63 65 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 ┆ence ┆ 0x13a0…13ab 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a ┆ ┆