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: g

⟦5ad7bde56⟧

    Length: 2072 (0x818)
    Names: »getsockname.2«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./bsd/usr/man/cat2/getsockname.2« 
        └─⟦this⟧ »./usr/man/cat2/getsockname.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 67 65 74 73 6f 63 6b 6e 61 6d 65 28 32 29 0a 0a 0a 0a   ┆s             getsockname(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 67 65 74 73 6f 63 6b 6e 61 6d 65 20 2d 20 67 65 74 20 73 6f 63 6b 65 74 20 6e 61 6d 65 0a   ┆  getsockname - get socket name ┆
0x0a0…0c0 0a 53 08 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   ┆ S S S SY Y Y YN N N NT T T TA A┆
0x0c0…0e0 08 41 08 41 58 08 58 08 58 08 58 0a 20 20 20 20 20 67 08 67 08 67 08 67 65 08 65 08 65 08 65 74   ┆ A AX X X X      g g g ge e e et┆
0x0e0…100 08 74 08 74 08 74 73 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   ┆ t t ts s s so o o oc c c ck k k┆
0x100…120 08 6b 6e 08 6e 08 6e 08 6e 61 08 61 08 61 08 61 6d 08 6d 08 6d 08 6d 65 08 65 08 65 08 65 28 08   ┆ kn n n na a a am m m me e e e( ┆
0x120…140 28 08 28 08 28 73 08 73 08 73 08 73 2c 08 2c 08 2c 08 2c 20 6e 08 6e 08 6e 08 6e 61 08 61 08 61   ┆( ( (s s s s, , , , n n n na a a┆
0x140…160 08 61 6d 08 6d 08 6d 08 6d 65 08 65 08 65 08 65 2c 08 2c 08 2c 08 2c 20 6e 08 6e 08 6e 08 6e 61   ┆ am m m me e e e, , , , n n n na┆
0x160…180 08 61 08 61 08 61 6d 08 6d 08 6d 08 6d 65 08 65 08 65 08 65 6c 08 6c 08 6c 08 6c 65 08 65 08 65   ┆ a a am m m me e e el l l le e e┆
0x180…1a0 08 65 6e 08 6e 08 6e 08 6e 29 08 29 08 29 08 29 0a 20 20 20 20 20 69 08 69 08 69 08 69 6e 08 6e   ┆ en n n n) ) ) )      i i i in n┆
0x1a0…1c0 08 6e 08 6e 74 08 74 08 74 08 74 20 73 08 73 08 73 08 73 3b 08 3b 08 3b 08 3b 0a 20 20 20 20 20   ┆ n nt t t t s s s s; ; ; ;      ┆
0x1c0…1e0 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 63 08 63 08   ┆s s s st t t tr r r ru u u uc c ┆
0x1e0…200 63 08 63 74 08 74 08 74 08 74 20 73 08 73 08 73 08 73 6f 08 6f 08 6f 08 6f 63 08 63 08 63 08 63   ┆c ct t t t s s s so o o oc c c c┆
0x200…220 6b 08 6b 08 6b 08 6b 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   ┆k k k ka a a ad d d dd d d dr r ┆
0x220…240 72 08 72 20 2a 08 2a 08 2a 08 2a 6e 08 6e 08 6e 08 6e 61 08 61 08 61 08 61 6d 08 6d 08 6d 08 6d   ┆r r * * * *n n n na a a am m m m┆
0x240…260 65 08 65 08 65 08 65 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   ┆e e e e; ; ; ;      i i i in n n┆
0x260…280 08 6e 74 08 74 08 74 08 74 20 2a 08 2a 08 2a 08 2a 6e 08 6e 08 6e 08 6e 61 08 61 08 61 08 61 6d   ┆ nt t t t * * * *n n n na a a am┆
0x280…2a0 08 6d 08 6d 08 6d 65 08 65 08 65 08 65 6c 08 6c 08 6c 08 6c 65 08 65 08 65 08 65 6e 08 6e 08 6e   ┆ m m me e e el l l le e e en n n┆
0x2a0…2c0 08 6e 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   ┆ n; ; ; ;  D D D DE E E ES S S S┆
0x2c0…2e0 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 08 50 54 08 54 08   ┆C C C CR R R RI I I IP P P PT T ┆
0x2e0…300 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 20 20 20 20 5f 08   ┆T TI I I IO O O ON N N N      _ ┆
0x300…320 47 5f 08 65 5f 08 74 5f 08 73 5f 08 6f 5f 08 63 5f 08 6b 5f 08 6e 5f 08 61 5f 08 6d 5f 08 65 20   ┆G_ e_ t_ s_ o_ c_ k_ n_ a_ m_ e ┆
0x320…340 72 65 74 75 72 6e 73 20 74 68 65 20 63 75 72 72 65 6e 74 20 5f 08 6e 5f 08 61 5f 08 6d 5f 08 65   ┆returns the current _ n_ a_ m_ e┆
0x340…360 20 66 6f 72 20 74 68 65 20 73 70 65 63 69 66 69 65 64 0a 20 20 20 20 20 73 6f 63 6b 65 74 2e 20   ┆ for the specified      socket. ┆
0x360…380 20 54 68 65 20 5f 08 6e 5f 08 61 5f 08 6d 5f 08 65 5f 08 6c 5f 08 65 5f 08 6e 20 70 61 72 61 6d   ┆ The _ n_ a_ m_ e_ l_ e_ n param┆
0x380…3a0 65 74 65 72 20 73 68 6f 75 6c 64 20 62 65 20 69 6e 69 74 69 61 6c 69 7a 65 64 20 74 6f 0a 20 20   ┆eter should be initialized to   ┆
0x3a0…3c0 20 20 20 69 6e 64 69 63 61 74 65 20 74 68 65 20 61 6d 6f 75 6e 74 20 6f 66 20 73 70 61 63 65 20   ┆   indicate the amount of space ┆
0x3c0…3e0 70 6f 69 6e 74 65 64 20 74 6f 20 62 79 20 5f 08 6e 5f 08 61 5f 08 6d 5f 08 65 2e 20 20 4f 6e 20   ┆pointed to by _ n_ a_ m_ e.  On ┆
0x3e0…400 72 65 74 75 72 6e 0a 20 20 20 20 20 69 74 20 63 6f 6e 74 61 69 6e 73 20 74 68 65 20 61 63 74 75   ┆return      it contains the actu┆
0x400…420 61 6c 20 73 69 7a 65 20 6f 66 20 74 68 65 20 6e 61 6d 65 20 72 65 74 75 72 6e 65 64 20 28 69 6e   ┆al size of the name returned (in┆
0x420…440 20 62 79 74 65 73 29 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   ┆ bytes).  D D D DI I I IA A A AG┆
0x440…460 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 08 54 08 54   ┆ G G GN N N NO O O OS S S ST T T┆
0x460…480 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 20 41 20 30   ┆ TI I I IC C C CS S S S      A 0┆
0x480…4a0 20 69 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   ┆ is returned if the call succeed┆
0x4a0…4c0 73 2c 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   ┆s, -1 if it fails.  E E E ER R R┆
0x4c0…4e0 08 52 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   ┆ RR R R RO O O OR R R RS S S S  ┆
0x4e0…500 20 20 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   ┆    The call succeeds unless:   ┆
0x500…520 20 20 20 20 5b 45 42 41 44 46 5d 20 20 20 20 20 20 20 20 54 68 65 20 61 72 67 75 6d 65 6e 74 20   ┆    [EBADF]        The argument ┆
0x520…540 5f 08 73 20 69 73 20 6e 6f 74 20 61 20 76 61 6c 69 64 20 64 65 73 63 72 69 70 74 6f 72 2e 0a 0a   ┆_ s is not a valid descriptor.  ┆
0x540…560 20 20 20 20 20 5b 45 4e 4f 54 53 4f 43 4b 5d 20 20 20 20 20 54 68 65 20 61 72 67 75 6d 65 6e 74   ┆     [ENOTSOCK]     The argument┆
0x560…580 20 5f 08 73 20 69 73 20 61 20 66 69 6c 65 2c 20 6e 6f 74 20 61 20 73 6f 63 6b 65 74 2e 0a 0a 20   ┆ _ s is a file, not a socket.   ┆
0x580…5a0 20 20 20 20 5b 45 4e 4f 42 55 46 53 5d 20 20 20 20 20 20 49 6e 73 75 66 66 69 63 69 65 6e 74 20   ┆    [ENOBUFS]      Insufficient ┆
0x5a0…5c0 72 65 73 6f 75 72 63 65 73 20 77 65 72 65 20 61 76 61 69 6c 61 62 6c 65 20 69 6e 20 74 68 65 0a   ┆resources were available in the ┆
0x5c0…5e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73 79 73 74 65 6d 20 74 6f 20 70 65   ┆                    system to pe┆
0x5e0…600 72 66 6f 72 6d 20 74 68 65 20 6f 70 65 72 61 74 69 6f 6e 2e 0a 0a 20 20 20 20 20 5b 45 46 41 55   ┆rform the operation.       [EFAU┆
0x600…620 4c 54 5d 20 20 20 20 20 20 20 54 68 65 20 5f 08 6e 5f 08 61 5f 08 6d 5f 08 65 20 70 61 72 61 6d   ┆LT]       The _ n_ a_ m_ e param┆
0x620…640 65 74 65 72 20 70 6f 69 6e 74 73 20 74 6f 20 6d 65 6d 6f 72 79 20 6e 6f 74 20 69 6e 20 61 0a 20   ┆eter points to memory not in a  ┆
0x640…660 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76 61 6c 69 64 20 70 61 72 74 20 6f 66   ┆                   valid part of┆
0x660…680 20 74 68 65 20 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   ┆ the process address space.  S S┆
0x680…6a0 08 53 08 53 45 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   ┆ S SE E E EE E E E A A A AL L L ┆
0x6a0…6c0 4c 53 08 53 08 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   ┆LS S S SO O O O      System Call┆
0x6c0…6e0 73 20 28 32 29 3a 20 20 62 69 6e 64 2c 20 73 6f 63 6b 65 74 0a 0a 4b 08 4b 08 4b 08 4b 4e 08 4e   ┆s (2):  bind, socket  K K K KN N┆
0x6e0…700 08 4e 08 4e 4f 08 4f 08 4f 08 4f 57 08 57 08 57 08 57 4e 08 4e 08 4e 08 4e 20 50 08 50 08 50 08   ┆ N NO O O OW W W WN N N N P P P ┆
0x700…720 50 52 08 52 08 52 08 52 4f 08 4f 08 4f 08 4f 42 08 42 08 42 08 42 4c 08 4c 08 4c 08 4c 45 08 45   ┆PR R R RO O O OB B B BL L L LE E┆
0x720…740 08 45 08 45 4d 08 4d 08 4d 08 4d 53 08 53 08 53 08 53 0a 20 20 20 20 20 4e 61 6d 65 73 20 62 6f   ┆ E EM M M MS S S S      Names bo┆
0x740…760 75 6e 64 20 74 6f 20 73 6f 63 6b 65 74 73 20 69 6e 20 74 68 65 20 55 4e 49 58 20 61 6e 64 20 54   ┆und to sockets in the UNIX and T┆
0x760…780 58 20 64 6f 6d 61 69 6e 73 20 61 72 65 20 69 6e 61 63 2d 0a 20 20 20 20 20 63 65 73 73 69 62 6c   ┆X domains are inac-      cessibl┆
0x780…7a0 65 3b 20 5f 08 67 5f 08 65 5f 08 74 5f 08 73 5f 08 6f 5f 08 63 5f 08 6b 5f 08 6e 5f 08 61 5f 08   ┆e; _ g_ e_ t_ s_ o_ c_ k_ n_ a_ ┆
0x7a0…7c0 6d 5f 08 65 20 72 65 74 75 72 6e 73 20 61 20 7a 65 72 6f 20 6c 65 6e 67 74 68 20 6e 61 6d 65 2e   ┆m_ e returns a zero length name.┆
0x7c0…7e0 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 20   ┆  March 1989                    ┆
0x7e0…800 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 65   ┆          TX Programmer's Refere┆
0x800…818 6e 63 65 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a                           ┆nce                     ┆