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

⟦2e07cc4b2⟧

    Length: 2518 (0x9d6)
    Names: »socketpair.2«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./bsd/usr/man/cat2/socketpair.2« 
        └─⟦this⟧ »./usr/man/cat2/socketpair.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 73 6f 63 6b 65 74 70 61 69 72 28 32 29 0a 0a 0a 0a   ┆s              socketpair(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 6f 63 6b 65 74 70 61 69 72 20 2d 20 63 72 65 61 74 65 20 61 20 70 61 69 72 20 6f 66 20   ┆  socketpair - create a pair of ┆
0x0a0…0c0 63 6f 6e 6e 65 63 74 65 64 20 73 6f 63 6b 65 74 73 0a 0a 53 08 53 08 53 08 53 59 08 59 08 59 08   ┆connected sockets  S S S SY Y Y ┆
0x0c0…0e0 59 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   ┆YN N N NT T T TA A A AX X X X   ┆
0x0e0…100 20 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   ┆   # # # #i i i in n n nc c c cl┆
0x100…120 08 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   ┆ l l lu u u ud d d de e e e < < ┆
0x120…140 3c 08 3c 73 08 73 08 73 08 73 79 08 79 08 79 08 79 73 08 73 08 73 08 73 2f 08 2f 08 2f 08 2f 74   ┆< <s s s sy y y ys s s s/ / / /t┆
0x140…160 08 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 73 08 73 08 73   ┆ t t ty y y yp p p pe e e es s s┆
0x160…180 08 73 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e 08 3e 08 3e 08 3e 0a 20 20 20 20 20 23 08 23   ┆ s. . . .h h h h> > > >      # #┆
0x180…1a0 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 6c 08 6c 08 6c   ┆ # #i i i in n n nc c c cl l l l┆
0x1a0…1c0 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 08 3c 73 08 73   ┆u u u ud d d de e e e < < < <s s┆
0x1c0…1e0 08 73 08 73 79 08 79 08 79 08 79 73 08 73 08 73 08 73 2f 08 2f 08 2f 08 2f 73 08 73 08 73 08 73   ┆ s sy y y ys s s s/ / / /s s s s┆
0x1e0…200 6f 08 6f 08 6f 08 6f 63 08 63 08 63 08 63 6b 08 6b 08 6b 08 6b 65 08 65 08 65 08 65 74 08 74 08   ┆o o o oc c c ck k k ke e e et t ┆
0x200…220 74 08 74 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 73   ┆t t. . . .h h h h> > > >       s┆
0x220…240 08 73 08 73 08 73 6f 08 6f 08 6f 08 6f 63 08 63 08 63 08 63 6b 08 6b 08 6b 08 6b 65 08 65 08 65   ┆ s s so o o oc c c ck k k ke e e┆
0x240…260 08 65 74 08 74 08 74 08 74 70 08 70 08 70 08 70 61 08 61 08 61 08 61 69 08 69 08 69 08 69 72 08   ┆ et t t tp p p pa a a ai i i ir ┆
0x260…280 72 08 72 08 72 28 08 28 08 28 08 28 64 08 64 08 64 08 64 2c 08 2c 08 2c 08 2c 20 74 08 74 08 74   ┆r r r( ( ( (d d d d, , , , t t t┆
0x280…2a0 08 74 79 08 79 08 79 08 79 70 08 70 08 70 08 70 65 08 65 08 65 08 65 2c 08 2c 08 2c 08 2c 20 70   ┆ ty y y yp p p pe e e e, , , , p┆
0x2a0…2c0 08 70 08 70 08 70 72 08 72 08 72 08 72 6f 08 6f 08 6f 08 6f 74 08 74 08 74 08 74 6f 08 6f 08 6f   ┆ p p pr r r ro o o ot t t to o o┆
0x2c0…2e0 08 6f 63 08 63 08 63 08 63 6f 08 6f 08 6f 08 6f 6c 08 6c 08 6c 08 6c 2c 08 2c 08 2c 08 2c 20 73   ┆ oc c c co o o ol l l l, , , , s┆
0x2e0…300 08 73 08 73 08 73 76 08 76 08 76 08 76 29 08 29 08 29 08 29 0a 20 20 20 20 20 69 08 69 08 69 08   ┆ s s sv v v v) ) ) )      i i i ┆
0x300…320 69 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 20 64 08 64 08 64 08 64 2c 08 2c 08 2c 08 2c 20 74   ┆in n n nt t t t d d d d, , , , t┆
0x320…340 08 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 2c 08 2c 08 2c   ┆ t t ty y y yp p p pe e e e, , ,┆
0x340…360 08 2c 20 70 08 70 08 70 08 70 72 08 72 08 72 08 72 6f 08 6f 08 6f 08 6f 74 08 74 08 74 08 74 6f   ┆ , p p p pr r r ro o o ot t t to┆
0x360…380 08 6f 08 6f 08 6f 63 08 63 08 63 08 63 6f 08 6f 08 6f 08 6f 6c 08 6c 08 6c 08 6c 3b 08 3b 08 3b   ┆ o o oc c c co o o ol l l l; ; ;┆
0x380…3a0 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 73 08   ┆ ;      i i i in n n nt t t t s ┆
0x3a0…3c0 73 08 73 08 73 76 08 76 08 76 08 76 5b 08 5b 08 5b 08 5b 32 08 32 08 32 08 32 5d 08 5d 08 5d 08   ┆s s sv v v v[ [ [ [2 2 2 2] ] ] ┆
0x3c0…3e0 5d 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   ┆]; ; ; ;  D D D DE E E ES S S SC┆
0x3e0…400 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┆
0x400…420 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 54 68 65   ┆ TI I I IO O O ON N N N      The┆
0x420…440 20 5f 08 73 5f 08 6f 5f 08 63 5f 08 6b 5f 08 65 5f 08 74 5f 08 70 5f 08 61 5f 08 69 5f 08 72 20   ┆ _ s_ o_ c_ k_ e_ t_ p_ a_ i_ r ┆
0x440…460 63 61 6c 6c 20 63 72 65 61 74 65 73 20 61 6e 20 75 6e 6e 61 6d 65 64 20 70 61 69 72 20 6f 66 20   ┆call creates an unnamed pair of ┆
0x460…480 63 6f 6e 6e 65 63 74 65 64 0a 20 20 20 20 20 73 6f 63 6b 65 74 73 20 69 6e 20 74 68 65 20 73 70   ┆connected      sockets in the sp┆
0x480…4a0 65 63 69 66 69 65 64 20 64 6f 6d 61 69 6e 20 5f 08 64 2c 20 6f 66 20 74 68 65 20 73 70 65 63 69   ┆ecified domain _ d, of the speci┆
0x4a0…4c0 66 69 65 64 20 5f 08 74 5f 08 79 5f 08 70 5f 08 65 2c 0a 20 20 20 20 20 61 6e 64 20 75 73 69 6e   ┆fied _ t_ y_ p_ e,      and usin┆
0x4c0…4e0 67 20 74 68 65 20 6f 70 74 69 6f 6e 61 6c 6c 79 20 73 70 65 63 69 66 69 65 64 20 5f 08 70 5f 08   ┆g the optionally specified _ p_ ┆
0x4e0…500 72 5f 08 6f 5f 08 74 5f 08 6f 5f 08 63 5f 08 6f 5f 08 6c 2e 20 20 54 68 65 20 64 65 73 63 72 69   ┆r_ o_ t_ o_ c_ o_ l.  The descri┆
0x500…520 70 2d 0a 20 20 20 20 20 74 6f 72 73 20 75 73 65 64 20 69 6e 20 72 65 66 65 72 65 6e 63 69 6e 67   ┆p-      tors used in referencing┆
0x520…540 20 74 68 65 20 6e 65 77 20 73 6f 63 6b 65 74 73 20 61 72 65 20 72 65 74 75 72 6e 65 64 20 69 6e   ┆ the new sockets are returned in┆
0x540…560 0a 20 20 20 20 20 5f 08 73 5f 08 76 5b 30 5d 20 61 6e 64 20 5f 08 73 5f 08 76 5b 31 5d 2e 20 20   ┆      _ s_ v[0] and _ s_ v[1].  ┆
0x560…580 54 68 65 20 74 77 6f 20 73 6f 63 6b 65 74 73 20 61 72 65 20 69 6e 64 69 73 74 69 6e 67 75 69 73   ┆The two sockets are indistinguis┆
0x580…5a0 68 61 62 6c 65 2e 0a 0a 44 08 44 08 44 08 44 49 08 49 08 49 08 49 41 08 41 08 41 08 41 47 08 47   ┆hable.  D D D DI I I IA A A AG G┆
0x5a0…5c0 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 08 54 08 54 08 54   ┆ G GN N N NO O O OS S S ST T T T┆
0x5c0…5e0 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 20 41 20 30 20 69   ┆I I I IC C C CS S S S      A 0 i┆
0x5e0…600 73 20 72 65 74 75 72 6e 65 64 20 69 66 20 74 68 65 20 63 61 6c 6c 20 73 75 63 63 65 65 64 73 2c   ┆s returned if the call succeeds,┆
0x600…620 20 2d 31 20 69 66 20 69 74 20 66 61 69 6c 73 2e 0a 0a 45 08 45 08 45 08 45 52 08 52 08 52 08 52   ┆ -1 if it fails.  E E E ER R R R┆
0x620…640 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 20 20   ┆R R R RO O O OR R R RS S S S    ┆
0x640…660 20 20 54 68 65 20 63 61 6c 6c 20 73 75 63 63 65 65 64 73 20 75 6e 6c 65 73 73 3a 0a 0a 20 20 20   ┆  The call succeeds unless:     ┆
0x660…680 20 20 5b 45 4d 46 49 4c 45 5d 20 20 20 20 20 20 20 20 20 20 20 20 54 6f 6f 20 6d 61 6e 79 20 64   ┆  [EMFILE]            Too many d┆
0x680…6a0 65 73 63 72 69 70 74 6f 72 73 20 61 72 65 20 69 6e 20 75 73 65 20 62 79 20 74 68 69 73 0a 20 20   ┆escriptors are in use by this   ┆
0x6a0…6c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 72 6f 63 65 73 73 2e 0a   ┆                       process. ┆
0x6c0…6e0 0a 20 20 20 20 20 5b 45 41 46 4e 4f 53 55 50 50 4f 52 54 5d 20 20 20 20 20 20 54 68 65 20 73 70   ┆      [EAFNOSUPPORT]      The sp┆
0x6e0…700 65 63 69 66 69 65 64 20 61 64 64 72 65 73 73 20 66 61 6d 69 6c 79 20 69 73 20 6e 6f 74 20 73 75   ┆ecified address family is not su┆
0x700…720 70 2d 0a 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 70 6f 72 74   ┆p-                          port┆
0x720…740 65 64 20 6f 6e 20 74 68 69 73 20 6d 61 63 68 69 6e 65 2e 0a 0a 20 20 20 20 20 5b 45 50 52 4f 54   ┆ed on this machine.       [EPROT┆
0x740…760 4f 4e 4f 53 55 50 50 4f 52 54 5d 20 20 20 54 68 65 20 73 70 65 63 69 66 69 65 64 20 70 72 6f 74   ┆ONOSUPPORT]   The specified prot┆
0x760…780 6f 63 6f 6c 20 69 73 20 6e 6f 74 20 73 75 70 70 6f 72 74 65 64 0a 20 20 20 20 20 20 20 20 20 20   ┆ocol is not supported           ┆
0x780…7a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 6e 20 74 68 69 73 20 6d 61 63 68 69 6e 65 2e 0a   ┆               on this machine. ┆
0x7a0…7c0 0a 20 20 20 20 20 5b 45 4f 50 4e 4f 53 55 50 50 4f 52 54 5d 20 20 20 20 20 20 54 68 65 20 73 70   ┆      [EOPNOSUPPORT]      The sp┆
0x7c0…7e0 65 63 69 66 69 65 64 20 70 72 6f 74 6f 63 6f 6c 20 64 6f 65 73 20 6e 6f 74 20 73 75 70 70 6f 72   ┆ecified protocol does not suppor┆
0x7e0…800 74 0a 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 63 72 65 61 74   ┆t                          creat┆
0x800…820 69 6f 6e 20 6f 66 20 73 6f 63 6b 65 74 20 70 61 69 72 73 2e 0a 0a 20 20 20 20 20 5b 45 46 41 55   ┆ion of socket pairs.       [EFAU┆
0x820…840 4c 54 5d 20 20 20 20 20 20 20 20 20 20 20 20 54 68 65 20 61 64 64 72 65 73 73 20 5f 08 73 5f 08   ┆LT]            The address _ s_ ┆
0x840…860 76 20 64 6f 65 73 20 6e 6f 74 20 73 70 65 63 69 66 79 20 61 20 76 61 6c 69 64 0a 20 20 20 20 20   ┆v does not specify a valid      ┆
0x860…880 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 70 61 72 74 20 6f 66 20 74 68 65 20   ┆                    part of the ┆
0x880…8a0 70 72 6f 63 65 73 73 20 61 64 64 72 65 73 73 20 73 70 61 63 65 2e 0a 0a 53 08 53 08 53 08 53 45   ┆process address space.  S S S SE┆
0x8a0…8c0 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 ┆
0x8c0…8e0 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)┆
0x8e0…900 3a 20 20 70 69 70 65 2c 20 72 65 61 64 2c 20 77 72 69 74 65 0a 0a 4c 08 4c 08 4c 08 4c 49 08 49   ┆:  pipe, read, write  L L L LI I┆
0x900…920 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 41 08 41   ┆ I IM M M MI I I IT T T TA A A A┆
0x920…940 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 08 53 08   ┆T T T TI I I IO O O ON N N NS S ┆
0x940…960 53 08 53 0a 20 20 20 20 20 54 68 69 73 20 63 61 6c 6c 20 69 73 20 63 75 72 72 65 6e 74 6c 79 20   ┆S S      This call is currently ┆
0x960…980 69 6d 70 6c 65 6d 65 6e 74 65 64 20 6f 6e 6c 79 20 66 6f 72 20 74 68 65 20 55 4e 49 58 20 64 6f   ┆implemented only for the UNIX do┆
0x980…9a0 6d 61 69 6e 2e 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   ┆main.  March 1989               ┆
0x9a0…9c0 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 65 72 27 73 20 52   ┆               TX Programmer's R┆
0x9c0…9d6 65 66 65 72 65 6e 63 65 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a                                 ┆eference              ┆