DataMuseum.dk

Presents historical artifacts from the history of:

RC9000

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about RC9000

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: s

⟦3d80e68dd⟧

    Length: 2919 (0xb67)
    Names: »sigstack.2«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./usr/man/cat2/sigstack.2« 

Default Hex Dump

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 20 20 53 79 73 74 65 6d 20 43 61 6c 6c   ┆ u_ a_ l             System Call┆
0x040…060 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 69 67 73 74 61 63 6b 28 32 29 0a 0a 0a 0a   ┆s                sigstack(2)    ┆
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 73 69 67 73 74 61 63 6b 20 2d 20 73 65 74 20 61 6e 64 2f 6f 72 20 67 65 74 20 73 69 67 6e   ┆  sigstack - set and/or get sign┆
0x0a0…0c0 61 6c 20 73 74 61 63 6b 20 63 6f 6e 74 65 78 74 0a 0a 53 08 53 08 53 08 53 59 08 59 08 59 08 59   ┆al stack context  S S S SY Y Y Y┆
0x0c0…0e0 4e 08 4e 08 4e 08 4e 54 08 54 08 54 08 54 41 08 41 08 41 08 41 58 08 58 08 58 08 58 0a 20 20 20   ┆N N N NT T T TA A A AX X X X    ┆
0x0e0…100 20 20 23 08 23 08 23 08 23 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 63 08 63 08 63 08 63 6c 08   ┆  # # # #i i i in n n nc c c cl ┆
0x100…120 6c 08 6c 08 6c 75 08 75 08 75 08 75 64 08 64 08 64 08 64 65 08 65 08 65 08 65 20 3c 08 3c 08 3c   ┆l l lu u u ud d d de e e e < < <┆
0x120…140 08 3c 73 08 73 08 73 08 73 69 08 69 08 69 08 69 67 08 67 08 67 08 67 6e 08 6e 08 6e 08 6e 61 08   ┆ <s s s si i i ig g g gn n n na ┆
0x140…160 61 08 61 08 61 6c 08 6c 08 6c 08 6c 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e 08 3e 08 3e 08   ┆a a al l l l. . . .h h h h> > > ┆
0x160…180 3e 0a 0a 20 20 20 20 20 73 08 73 08 73 08 73 74 08 74 08 74 08 74 72 08 72 08 72 08 72 75 08 75   ┆>       s s s st t t tr r r ru u┆
0x180…1a0 08 75 08 75 63 08 63 08 63 08 63 74 08 74 08 74 08 74 20 73 08 73 08 73 08 73 69 08 69 08 69 08   ┆ u uc c c ct t t t s s s si i i ┆
0x1a0…1c0 69 67 08 67 08 67 08 67 73 08 73 08 73 08 73 74 08 74 08 74 08 74 61 08 61 08 61 08 61 63 08 63   ┆ig g g gs s s st t t ta a a ac c┆
0x1c0…1e0 08 63 08 63 6b 08 6b 08 6b 08 6b 20 7b 08 7b 08 7b 08 7b 0a 20 20 20 20 20 20 20 20 63 08 63 08   ┆ c ck k k k { { { {         c c ┆
0x1e0…200 63 08 63 61 08 61 08 61 08 61 64 08 64 08 64 08 64 64 08 64 08 64 08 64 72 08 72 08 72 08 72 5f   ┆c ca a a ad d d dd d d dr r r r_┆
0x200…220 08 5f 08 5f 08 5f 74 08 74 08 74 08 74 20 20 20 20 20 73 08 73 08 73 08 73 73 08 73 08 73 08 73   ┆ _ _ _t t t t     s s s ss s s s┆
0x220…240 5f 08 5f 08 5f 08 5f 73 08 73 08 73 08 73 70 08 70 08 70 08 70 3b 08 3b 08 3b 08 3b 0a 20 20 20   ┆_ _ _ _s s s sp p p p; ; ; ;    ┆
0x240…260 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 20 20 20 73 08   ┆     i i i in n n nt t t t    s ┆
0x260…280 73 08 73 08 73 73 08 73 08 73 08 73 5f 08 5f 08 5f 08 5f 6f 08 6f 08 6f 08 6f 6e 08 6e 08 6e 08   ┆s s ss s s s_ _ _ _o o o on n n ┆
0x280…2a0 6e 73 08 73 08 73 08 73 74 08 74 08 74 08 74 61 08 61 08 61 08 61 63 08 63 08 63 08 63 6b 08 6b   ┆ns s s st t t ta a a ac c c ck k┆
0x2a0…2c0 08 6b 08 6b 3b 08 3b 08 3b 08 3b 0a 20 20 20 20 20 7d 08 7d 08 7d 08 7d 3b 08 3b 08 3b 08 3b 0a   ┆ k k; ; ; ;      } } } }; ; ; ; ┆
0x2c0…2e0 0a 20 20 20 20 20 73 08 73 08 73 08 73 69 08 69 08 69 08 69 67 08 67 08 67 08 67 73 08 73 08 73   ┆      s s s si i i ig g g gs s s┆
0x2e0…300 08 73 74 08 74 08 74 08 74 61 08 61 08 61 08 61 63 08 63 08 63 08 63 6b 08 6b 08 6b 08 6b 28 08   ┆ st t t ta a a ac c c ck k k k( ┆
0x300…320 28 08 28 08 28 73 08 73 08 73 08 73 73 08 73 08 73 08 73 2c 08 2c 08 2c 08 2c 20 6f 08 6f 08 6f   ┆( ( (s s s ss s s s, , , , o o o┆
0x320…340 08 6f 73 08 73 08 73 08 73 73 08 73 08 73 08 73 29 08 29 08 29 08 29 3b 08 3b 08 3b 08 3b 0a 20   ┆ os s s ss s s s) ) ) ); ; ; ;  ┆
0x340…360 20 20 20 20 73 08 73 08 73 08 73 74 08 74 08 74 08 74 72 08 72 08 72 08 72 75 08 75 08 75 08 75   ┆    s s s st t t tr r r ru u u u┆
0x360…380 63 08 63 08 63 08 63 74 08 74 08 74 08 74 20 73 08 73 08 73 08 73 69 08 69 08 69 08 69 67 08 67   ┆c c c ct t t t s s s si i i ig g┆
0x380…3a0 08 67 08 67 73 08 73 08 73 08 73 74 08 74 08 74 08 74 61 08 61 08 61 08 61 63 08 63 08 63 08 63   ┆ g gs s s st t t ta a a ac c c c┆
0x3a0…3c0 6b 08 6b 08 6b 08 6b 20 2a 08 2a 08 2a 08 2a 73 08 73 08 73 08 73 73 08 73 08 73 08 73 2c 08 2c   ┆k k k k * * * *s s s ss s s s, ,┆
0x3c0…3e0 08 2c 08 2c 20 2a 08 2a 08 2a 08 2a 6f 08 6f 08 6f 08 6f 73 08 73 08 73 08 73 73 08 73 08 73 08   ┆ , , * * * *o o o os s s ss s s ┆
0x3e0…400 73 3b 08 3b 08 3b 08 3b 0a 0a 44 08 44 08 44 08 44 45 08 45 08 45 08 45 53 08 53 08 53 08 53 43   ┆s; ; ; ;  D D D DE E E ES S S SC┆
0x400…420 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 08 50 54 08 54 08 54   ┆ C C CR R R RI I I IP P P PT T T┆
0x420…440 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 20 20 20 20 5f 08 73   ┆ TI I I IO O O ON N N N      _ s┆
0x440…460 5f 08 69 5f 08 67 5f 08 73 5f 08 74 5f 08 61 5f 08 63 5f 08 6b 20 61 6c 6c 6f 77 73 20 75 73 65   ┆_ i_ g_ s_ t_ a_ c_ k allows use┆
0x460…480 72 73 20 74 6f 20 64 65 66 69 6e 65 20 61 6e 20 61 6c 74 65 72 6e 61 74 65 20 73 74 61 63 6b 20   ┆rs to define an alternate stack ┆
0x480…4a0 74 6f 20 70 72 6f 2d 0a 20 20 20 20 20 63 65 73 73 20 73 69 67 6e 61 6c 73 2e 0a 0a 20 20 20 20   ┆to pro-      cess signals.      ┆
0x4a0…4c0 20 5f 08 73 5f 08 73 20 20 20 49 66 20 6e 6f 6e 2d 7a 65 72 6f 2c 20 73 70 65 63 69 66 69 65 73   ┆ _ s_ s   If non-zero, specifies┆
0x4c0…4e0 20 61 20 5f 08 73 5f 08 69 5f 08 67 5f 08 6e 5f 08 61 5f 08 6c 20 5f 08 73 5f 08 74 5f 08 61 5f   ┆ a _ s_ i_ g_ n_ a_ l _ s_ t_ a_┆
0x4e0…500 08 63 5f 08 6b 20 66 6f 72 20 73 69 67 6e 61 6c 0a 20 20 20 20 20 20 20 20 20 20 64 65 6c 69 76   ┆ c_ k for signal           deliv┆
0x500…520 65 72 79 2e 20 20 49 74 20 74 65 6c 6c 73 20 74 68 65 20 73 79 73 74 65 6d 20 77 68 65 74 68 65   ┆ery.  It tells the system whethe┆
0x520…540 72 20 74 68 65 20 70 72 6f 63 65 73 73 20 69 73 0a 20 20 20 20 20 20 20 20 20 20 63 75 72 72 65   ┆r the process is           curre┆
0x540…560 6e 74 6c 79 20 65 78 65 63 75 74 69 6e 67 20 6f 6e 20 74 68 61 74 20 73 74 61 63 6b 2e 0a 20 20   ┆ntly executing on that stack.   ┆
0x560…580 20 20 20 20 20 20 20 20 49 66 20 61 20 73 69 67 6e 61 6c 27 73 20 68 61 6e 64 6c 65 72 20 73 68   ┆        If a signal's handler sh┆
0x580…5a0 6f 75 6c 64 20 65 78 65 63 75 74 65 20 6f 6e 20 74 68 65 20 73 69 67 6e 61 6c 0a 20 20 20 20 20   ┆ould execute on the signal      ┆
0x5a0…5c0 20 20 20 20 20 73 74 61 63 6b 20 28 73 70 65 63 69 66 69 65 64 20 77 69 74 68 20 61 20 5f 08 73   ┆     stack (specified with a _ s┆
0x5c0…5e0 5f 08 69 5f 08 67 5f 08 76 5f 08 65 5f 08 63 28 32 29 20 63 61 6c 6c 29 2c 20 74 68 65 20 73 79   ┆_ i_ g_ v_ e_ c(2) call), the sy┆
0x5e0…600 73 74 65 6d 0a 20 20 20 20 20 20 20 20 20 20 63 68 65 63 6b 73 20 74 6f 20 73 65 65 20 77 68 65   ┆stem           checks to see whe┆
0x600…620 74 68 65 72 20 74 68 65 20 70 72 6f 63 65 73 73 20 69 73 20 63 75 72 72 65 6e 74 6c 79 20 65 78   ┆ther the process is currently ex┆
0x620…640 65 63 75 74 2d 0a 20 20 20 20 20 20 20 20 20 20 69 6e 67 20 6f 6e 20 74 68 61 74 20 73 74 61 63   ┆ecut-           ing on that stac┆
0x640…660 6b 2e 20 20 49 66 20 6e 6f 74 2c 20 74 68 65 20 73 79 73 74 65 6d 20 73 77 69 74 63 68 65 73 20   ┆k.  If not, the system switches ┆
0x660…680 74 6f 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 73 69 67 6e 61 6c 20 73 74 61 63 6b 20 66 6f   ┆to the           signal stack fo┆
0x680…6a0 72 20 74 68 65 20 72 65 6d 61 69 6e 64 65 72 20 6f 66 20 74 68 65 20 73 69 67 6e 61 6c 20 68 61   ┆r the remainder of the signal ha┆
0x6a0…6c0 6e 64 6c 65 72 27 73 0a 20 20 20 20 20 20 20 20 20 20 65 78 65 63 75 74 69 6f 6e 2e 0a 0a 20 20   ┆ndler's           execution.    ┆
0x6c0…6e0 20 20 20 5f 08 6f 5f 08 73 5f 08 73 20 20 49 66 20 6e 6f 6e 2d 7a 65 72 6f 2c 20 74 68 65 20 63   ┆   _ o_ s_ s  If non-zero, the c┆
0x6e0…700 75 72 72 65 6e 74 20 73 74 61 74 65 20 6f 66 20 74 68 65 20 73 69 67 6e 61 6c 20 73 74 61 63 6b   ┆urrent state of the signal stack┆
0x700…720 20 69 73 0a 20 20 20 20 20 20 20 20 20 20 72 65 74 75 72 6e 65 64 2e 0a 0a 4c 08 4c 08 4c 08 4c   ┆ is           returned.  L L L L┆
0x720…740 49 08 49 08 49 08 49 4d 08 4d 08 4d 08 4d 49 08 49 08 49 08 49 54 08 54 08 54 08 54 41 08 41 08   ┆I I I IM M M MI I I IT T T TA A ┆
0x740…760 41 08 41 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 53   ┆A AT T T TI I I IO O O ON N N NS┆
0x760…780 08 53 08 53 08 53 0a 20 20 20 20 20 53 69 67 6e 61 6c 20 73 74 61 63 6b 73 20 61 72 65 20 6e 6f   ┆ S S S      Signal stacks are no┆
0x780…7a0 74 20 60 60 67 72 6f 77 6e 27 27 20 61 75 74 6f 6d 61 74 69 63 61 6c 6c 79 2c 20 61 73 20 69 73   ┆t ``grown'' automatically, as is┆
0x7a0…7c0 20 64 6f 6e 65 0a 20 20 20 20 20 66 6f 72 20 74 68 65 20 6e 6f 72 6d 61 6c 20 73 74 61 63 6b 2e   ┆ done      for the normal stack.┆
0x7c0…7e0 20 20 49 66 20 74 68 65 20 73 74 61 63 6b 20 6f 76 65 72 66 6c 6f 77 73 20 75 6e 70 72 65 64 69   ┆  If the stack overflows unpredi┆
0x7e0…800 63 74 61 62 6c 65 0a 20 20 20 20 20 72 65 73 75 6c 74 73 20 6d 61 79 20 6f 63 63 75 72 2e 0a 0a   ┆ctable      results may occur.  ┆
0x800…820 20 20 20 20 20 5f 08 6c 5f 08 6f 5f 08 6e 5f 08 67 5f 08 6a 5f 08 6d 5f 08 70 20 6c 69 62 72 61   ┆     _ l_ o_ n_ g_ j_ m_ p libra┆
0x820…840 72 79 20 66 75 6e 63 74 69 6f 6e 20 64 6f 65 73 20 6e 6f 74 20 6f 70 65 72 61 74 65 20 63 6f 72   ┆ry function does not operate cor┆
0x840…860 72 65 63 74 6c 79 20 77 68 65 6e 0a 20 20 20 20 20 65 78 65 63 75 74 69 6e 67 20 66 72 6f 6d 20   ┆rectly when      executing from ┆
0x860…880 74 68 65 20 73 69 67 6e 61 6c 20 73 74 61 63 6b 2e 0a 0a 52 08 52 08 52 08 52 45 08 45 08 45 08   ┆the signal stack.  R R R RE E E ┆
0x880…8a0 45 54 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   ┆ET T T TU U U UR R R RN N N N V ┆
0x8a0…8c0 56 08 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   ┆V V VA A A AL L L LU U U UE E E ┆
0x8c0…8e0 45 0a 20 20 20 20 20 55 70 6f 6e 20 73 75 63 63 65 73 73 66 75 6c 20 63 6f 6d 70 6c 65 74 69 6f   ┆E      Upon successful completio┆
0x8e0…900 6e 2c 20 61 20 76 61 6c 75 65 20 6f 66 20 30 20 69 73 20 72 65 74 75 72 6e 65 64 2e 20 20 4f 74   ┆n, a value of 0 is returned.  Ot┆
0x900…920 68 2d 0a 20 20 20 20 20 65 72 77 69 73 65 2c 20 61 20 76 61 6c 75 65 20 6f 66 20 2d 31 20 69 73   ┆h-      erwise, a value of -1 is┆
0x920…940 20 72 65 74 75 72 6e 65 64 20 61 6e 64 20 5f 08 65 5f 08 72 5f 08 72 5f 08 6e 5f 08 6f 20 69 73   ┆ returned and _ e_ r_ r_ n_ o is┆
0x940…960 20 73 65 74 20 74 6f 20 69 6e 64 69 2d 0a 20 20 20 20 20 63 61 74 65 20 74 68 65 20 65 72 72 6f   ┆ set to indi-      cate the erro┆
0x960…980 72 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 4f 08 4f 08 4f   ┆r.  E E E ER R R RR R R RO O O O┆
0x980…9a0 52 08 52 08 52 08 52 53 08 53 08 53 08 53 0a 20 20 20 20 20 5f 08 73 5f 08 69 5f 08 67 5f 08 73   ┆R R R RS S S S      _ s_ i_ g_ s┆
0x9a0…9c0 5f 08 74 5f 08 61 5f 08 63 5f 08 6b 20 66 61 69 6c 73 20 77 69 74 68 6f 75 74 20 63 68 61 6e 67   ┆_ t_ a_ c_ k fails without chang┆
0x9c0…9e0 69 6e 67 20 74 68 65 20 73 69 67 6e 61 6c 2d 73 74 61 63 6b 20 63 6f 6e 74 65 78 74 20 69 66 0a   ┆ing the signal-stack context if ┆
0x9e0…a00 20 20 20 20 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 6f 63 63 75 72 73 2e 0a 0a 20 20 20 20   ┆     the following occurs.      ┆
0xa00…a20 20 5b 45 46 41 55 4c 54 5d 20 20 20 20 20 20 20 45 69 74 68 65 72 20 5f 08 73 5f 08 73 20 6f 72   ┆ [EFAULT]       Either _ s_ s or┆
0xa20…a40 20 5f 08 6f 5f 08 73 5f 08 73 20 70 6f 69 6e 74 73 20 74 6f 20 6d 65 6d 6f 72 79 20 74 68 61 74   ┆ _ o_ s_ s points to memory that┆
0xa40…a60 20 69 73 20 6e 6f 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 20 76 61   ┆ is not                     a va┆
0xa60…a80 6c 69 64 20 70 61 72 74 20 6f 66 20 74 68 65 20 70 72 6f 63 65 73 73 20 61 64 64 72 65 73 73 20   ┆lid part of the process address ┆
0xa80…aa0 73 70 61 63 65 2e 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   ┆space.  S S S SE E E EE E E E A ┆
0xaa0…ac0 41 08 41 08 41 4c 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   ┆A A AL L L LS S S SO O O O      ┆
0xac0…ae0 53 79 73 74 65 6d 20 43 61 6c 6c 73 20 28 32 29 3a 20 20 73 69 67 76 65 63 0a 20 20 20 20 20 4c   ┆System Calls (2):  sigvec      L┆
0xae0…b00 69 62 72 61 72 79 20 46 75 6e 63 74 69 6f 6e 73 20 28 33 29 3a 20 20 73 65 74 6a 6d 70 0a 20 20   ┆ibrary Functions (3):  setjmp   ┆
0xb00…b20 20 20 20 53 79 73 74 65 6d 20 46 61 63 69 6c 69 74 69 65 73 20 28 34 29 3a 20 73 69 67 6e 61 6c   ┆   System Facilities (4): signal┆
0xb20…b40 73 0a 0a 4d 61 72 63 68 20 31 39 38 39 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆s  March 1989                   ┆
0xb40…b60 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┆
0xb60…b67 65 6e 63 65 0a 0a 0a                                                                              ┆ence   ┆