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

⟦a182eb0ef⟧

    Length: 2801 (0xaf1)
    Names: »byteorder.3n«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./bsd/usr/man/cat3/byteorder.3n« 
        └─⟦this⟧ »./usr/man/cat3/byteorder.3n« 

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 4c 69 62 72 61 72 79 20 46 75 6e 63 74   ┆ u_ a_ l           Library Funct┆
0x040…060 69 6f 6e 73 20 20 20 20 20 20 20 20 20 20 20 62 79 74 65 6f 72 64 65 72 28 33 6e 29 0a 0a 0a 0a   ┆ions           byteorder(3n)    ┆
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 68 74 6f 6e 6c 2c 20 68 74 6f 6e 73 2c 20 6e 74 6f 68 6c 2c 20 6e 74 6f 68 73 20 2d 20 63   ┆  htonl, htons, ntohl, ntohs - c┆
0x0a0…0c0 6f 6e 76 65 72 74 20 76 61 6c 75 65 73 20 62 65 74 77 65 65 6e 20 68 6f 73 74 20 61 6e 64 0a 20   ┆onvert values between host and  ┆
0x0c0…0e0 20 20 20 20 6e 65 74 77 6f 72 6b 20 62 79 74 65 20 6f 72 64 65 72 0a 0a 53 08 53 08 53 08 53 59   ┆    network byte order  S S S SY┆
0x0e0…100 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 58 08 58 08 58   ┆ Y Y YN N N NT T T TA A A AX X X┆
0x100…120 08 58 0a 20 20 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   ┆ X      # # # #i i i in n n nc c┆
0x120…140 08 63 08 63 6c 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   ┆ c cl l l lu u u ud d d de e e e┆
0x140…160 20 3c 08 3c 08 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   ┆ < < < <s s s sy y y ys s s s/ /┆
0x160…180 08 2f 08 2f 74 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   ┆ / /t t t ty y y yp p p pe e e e┆
0x180…1a0 73 08 73 08 73 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   ┆s s s s. . . .h h h h> > > >    ┆
0x1a0…1c0 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 ┆
0x1c0…1e0 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 < < <┆
0x1e0…200 08 3c 6e 08 6e 08 6e 08 6e 65 08 65 08 65 08 65 74 08 74 08 74 08 74 69 08 69 08 69 08 69 6e 08   ┆ <n n n ne e e et t t ti i i in ┆
0x200…220 6e 08 6e 08 6e 65 08 65 08 65 08 65 74 08 74 08 74 08 74 2f 08 2f 08 2f 08 2f 69 08 69 08 69 08   ┆n n ne e e et t t t/ / / /i i i ┆
0x220…240 69 6e 08 6e 08 6e 08 6e 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 3e 08 3e 08 3e 08 3e 0a 0a 20   ┆in n n n. . . .h h h h> > > >   ┆
0x240…260 20 20 20 20 6e 08 6e 08 6e 08 6e 65 08 65 08 65 08 65 74 08 74 08 74 08 74 6c 08 6c 08 6c 08 6c   ┆    n n n ne e e et t t tl l l l┆
0x260…280 6f 08 6f 08 6f 08 6f 6e 08 6e 08 6e 08 6e 67 08 67 08 67 08 67 20 3d 08 3d 08 3d 08 3d 20 68 08   ┆o o o on n n ng g g g = = = = h ┆
0x280…2a0 68 08 68 08 68 74 08 74 08 74 08 74 6f 08 6f 08 6f 08 6f 6e 08 6e 08 6e 08 6e 6c 08 6c 08 6c 08   ┆h h ht t t to o o on n n nl l l ┆
0x2a0…2c0 6c 28 08 28 08 28 08 28 68 08 68 08 68 08 68 6f 08 6f 08 6f 08 6f 73 08 73 08 73 08 73 74 08 74   ┆l( ( ( (h h h ho o o os s s st t┆
0x2c0…2e0 08 74 08 74 6c 08 6c 08 6c 08 6c 6f 08 6f 08 6f 08 6f 6e 08 6e 08 6e 08 6e 67 08 67 08 67 08 67   ┆ t tl l l lo o o on n n ng g g g┆
0x2e0…300 29 08 29 08 29 08 29 3b 08 3b 08 3b 08 3b 0a 20 20 20 20 20 75 08 75 08 75 08 75 5f 08 5f 08 5f   ┆) ) ) ); ; ; ;      u u u u_ _ _┆
0x300…320 08 5f 6c 08 6c 08 6c 08 6c 6f 08 6f 08 6f 08 6f 6e 08 6e 08 6e 08 6e 67 08 67 08 67 08 67 20 6e   ┆ _l l l lo o o on n n ng g g g n┆
0x320…340 08 6e 08 6e 08 6e 65 08 65 08 65 08 65 74 08 74 08 74 08 74 6c 08 6c 08 6c 08 6c 6f 08 6f 08 6f   ┆ n n ne e e et t t tl l l lo o o┆
0x340…360 08 6f 6e 08 6e 08 6e 08 6e 67 08 67 08 67 08 67 2c 08 2c 08 2c 08 2c 20 68 08 68 08 68 08 68 6f   ┆ on n n ng g g g, , , , h h h ho┆
0x360…380 08 6f 08 6f 08 6f 73 08 73 08 73 08 73 74 08 74 08 74 08 74 6c 08 6c 08 6c 08 6c 6f 08 6f 08 6f   ┆ o o os s s st t t tl l l lo o o┆
0x380…3a0 08 6f 6e 08 6e 08 6e 08 6e 67 08 67 08 67 08 67 3b 08 3b 08 3b 08 3b 0a 0a 20 20 20 20 20 6e 08   ┆ on n n ng g g g; ; ; ;       n ┆
0x3a0…3c0 6e 08 6e 08 6e 65 08 65 08 65 08 65 74 08 74 08 74 08 74 73 08 73 08 73 08 73 68 08 68 08 68 08   ┆n n ne e e et t t ts s s sh h h ┆
0x3c0…3e0 68 6f 08 6f 08 6f 08 6f 72 08 72 08 72 08 72 74 08 74 08 74 08 74 20 3d 08 3d 08 3d 08 3d 20 68   ┆ho o o or r r rt t t t = = = = h┆
0x3e0…400 08 68 08 68 08 68 74 08 74 08 74 08 74 6f 08 6f 08 6f 08 6f 6e 08 6e 08 6e 08 6e 73 08 73 08 73   ┆ h h ht t t to o o on n n ns s s┆
0x400…420 08 73 28 08 28 08 28 08 28 68 08 68 08 68 08 68 6f 08 6f 08 6f 08 6f 73 08 73 08 73 08 73 74 08   ┆ s( ( ( (h h h ho o o os s s st ┆
0x420…440 74 08 74 08 74 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   ┆t t ts s s sh h h ho o o or r r ┆
0x440…460 72 74 08 74 08 74 08 74 29 08 29 08 29 08 29 3b 08 3b 08 3b 08 3b 0a 20 20 20 20 20 75 08 75 08   ┆rt t t t) ) ) ); ; ; ;      u u ┆
0x460…480 75 08 75 5f 08 5f 08 5f 08 5f 73 08 73 08 73 08 73 68 08 68 08 68 08 68 6f 08 6f 08 6f 08 6f 72   ┆u u_ _ _ _s s s sh h h ho o o or┆
0x480…4a0 08 72 08 72 08 72 74 08 74 08 74 08 74 20 6e 08 6e 08 6e 08 6e 65 08 65 08 65 08 65 74 08 74 08   ┆ r r rt t t t n n n ne e e et t ┆
0x4a0…4c0 74 08 74 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 72 74   ┆t ts s s sh h h ho o o or r r rt┆
0x4c0…4e0 08 74 08 74 08 74 2c 08 2c 08 2c 08 2c 20 68 08 68 08 68 08 68 6f 08 6f 08 6f 08 6f 73 08 73 08   ┆ t t t, , , , h h h ho o o os s ┆
0x4e0…500 73 08 73 74 08 74 08 74 08 74 73 08 73 08 73 08 73 68 08 68 08 68 08 68 6f 08 6f 08 6f 08 6f 72   ┆s st t t ts s s sh h h ho o o or┆
0x500…520 08 72 08 72 08 72 74 08 74 08 74 08 74 3b 08 3b 08 3b 08 3b 0a 0a 20 20 20 20 20 68 08 68 08 68   ┆ r r rt t t t; ; ; ;       h h h┆
0x520…540 08 68 6f 08 6f 08 6f 08 6f 73 08 73 08 73 08 73 74 08 74 08 74 08 74 6c 08 6c 08 6c 08 6c 6f 08   ┆ ho o o os s s st t t tl l l lo ┆
0x540…560 6f 08 6f 08 6f 6e 08 6e 08 6e 08 6e 67 08 67 08 67 08 67 20 3d 08 3d 08 3d 08 3d 20 6e 08 6e 08   ┆o o on n n ng g g g = = = = n n ┆
0x560…580 6e 08 6e 74 08 74 08 74 08 74 6f 08 6f 08 6f 08 6f 68 08 68 08 68 08 68 6c 08 6c 08 6c 08 6c 28   ┆n nt t t to o o oh h h hl l l l(┆
0x580…5a0 08 28 08 28 08 28 6e 08 6e 08 6e 08 6e 65 08 65 08 65 08 65 74 08 74 08 74 08 74 6c 08 6c 08 6c   ┆ ( ( (n n n ne e e et t t tl l l┆
0x5a0…5c0 08 6c 6f 08 6f 08 6f 08 6f 6e 08 6e 08 6e 08 6e 67 08 67 08 67 08 67 29 08 29 08 29 08 29 3b 08   ┆ lo o o on n n ng g g g) ) ) ); ┆
0x5c0…5e0 3b 08 3b 08 3b 0a 20 20 20 20 20 75 08 75 08 75 08 75 5f 08 5f 08 5f 08 5f 6c 08 6c 08 6c 08 6c   ┆; ; ;      u u u u_ _ _ _l l l l┆
0x5e0…600 6f 08 6f 08 6f 08 6f 6e 08 6e 08 6e 08 6e 67 08 67 08 67 08 67 20 68 08 68 08 68 08 68 6f 08 6f   ┆o o o on n n ng g g g h h h ho o┆
0x600…620 08 6f 08 6f 73 08 73 08 73 08 73 74 08 74 08 74 08 74 6c 08 6c 08 6c 08 6c 6f 08 6f 08 6f 08 6f   ┆ o os s s st t t tl l l lo o o o┆
0x620…640 6e 08 6e 08 6e 08 6e 67 08 67 08 67 08 67 2c 08 2c 08 2c 08 2c 20 6e 08 6e 08 6e 08 6e 65 08 65   ┆n n n ng g g g, , , , n n n ne e┆
0x640…660 08 65 08 65 74 08 74 08 74 08 74 6c 08 6c 08 6c 08 6c 6f 08 6f 08 6f 08 6f 6e 08 6e 08 6e 08 6e   ┆ e et t t tl l l lo o o on n n n┆
0x660…680 67 08 67 08 67 08 67 3b 08 3b 08 3b 08 3b 0a 0a 20 20 20 20 20 68 08 68 08 68 08 68 6f 08 6f 08   ┆g g g g; ; ; ;       h h h ho o ┆
0x680…6a0 6f 08 6f 73 08 73 08 73 08 73 74 08 74 08 74 08 74 73 08 73 08 73 08 73 68 08 68 08 68 08 68 6f   ┆o os s s st t t ts s s sh h h ho┆
0x6a0…6c0 08 6f 08 6f 08 6f 72 08 72 08 72 08 72 74 08 74 08 74 08 74 20 3d 08 3d 08 3d 08 3d 20 6e 08 6e   ┆ o o or r r rt t t t = = = = n n┆
0x6c0…6e0 08 6e 08 6e 74 08 74 08 74 08 74 6f 08 6f 08 6f 08 6f 68 08 68 08 68 08 68 73 08 73 08 73 08 73   ┆ n nt t t to o o oh h h hs s s s┆
0x6e0…700 28 08 28 08 28 08 28 6e 08 6e 08 6e 08 6e 65 08 65 08 65 08 65 74 08 74 08 74 08 74 73 08 73 08   ┆( ( ( (n n n ne e e et t t ts s ┆
0x700…720 73 08 73 68 08 68 08 68 08 68 6f 08 6f 08 6f 08 6f 72 08 72 08 72 08 72 74 08 74 08 74 08 74 29   ┆s sh h h ho o o or r r rt t t t)┆
0x720…740 08 29 08 29 08 29 3b 08 3b 08 3b 08 3b 0a 20 20 20 20 20 75 08 75 08 75 08 75 5f 08 5f 08 5f 08   ┆ ) ) ); ; ; ;      u u u u_ _ _ ┆
0x740…760 5f 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 72 74 08 74   ┆_s s s sh h h ho o o or r r rt t┆
0x760…780 08 74 08 74 20 68 08 68 08 68 08 68 6f 08 6f 08 6f 08 6f 73 08 73 08 73 08 73 74 08 74 08 74 08   ┆ t t h h h ho o o os s s st t t ┆
0x780…7a0 74 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 72 74 08 74   ┆ts s s sh h h ho o o or r r rt t┆
0x7a0…7c0 08 74 08 74 2c 08 2c 08 2c 08 2c 20 6e 08 6e 08 6e 08 6e 65 08 65 08 65 08 65 74 08 74 08 74 08   ┆ t t, , , , n n n ne e e et t t ┆
0x7c0…7e0 74 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 72 74 08 74   ┆ts s s sh h h ho o o or r r rt t┆
0x7e0…800 08 74 08 74 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   ┆ t t; ; ; ;  D D D DE E E ES S S┆
0x800…820 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 08 50 54 08   ┆ SC C C CR R R RI I I IP P P PT ┆
0x820…840 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 20 20 20 20   ┆T T TI I I IO O O ON N N N      ┆
0x840…860 54 68 65 73 65 20 72 6f 75 74 69 6e 65 73 20 63 6f 6e 76 65 72 74 20 31 36 20 61 6e 64 20 33 32   ┆These routines convert 16 and 32┆
0x860…880 20 62 69 74 20 71 75 61 6e 74 69 74 69 65 73 20 62 65 74 77 65 65 6e 20 6e 65 74 2d 0a 20 20 20   ┆ bit quantities between net-    ┆
0x880…8a0 20 20 77 6f 72 6b 20 62 79 74 65 20 6f 72 64 65 72 20 61 6e 64 20 68 6f 73 74 20 62 79 74 65 20   ┆  work byte order and host byte ┆
0x8a0…8c0 6f 72 64 65 72 2e 20 20 4f 6e 20 6d 61 63 68 69 6e 65 73 20 73 75 63 68 20 61 73 0a 20 20 20 20   ┆order.  On machines such as     ┆
0x8c0…8e0 20 74 68 65 20 52 43 39 30 30 30 20 66 6f 72 20 77 68 69 63 68 20 6e 65 74 77 6f 72 6b 20 61 6e   ┆ the RC9000 for which network an┆
0x8e0…900 64 20 68 6f 73 74 20 62 79 74 65 20 6f 72 64 65 72 20 61 67 72 65 65 20 74 68 65 73 65 0a 20 20   ┆d host byte order agree these   ┆
0x900…920 20 20 20 72 6f 75 74 69 6e 65 73 20 61 72 65 20 64 65 66 69 6e 65 64 20 61 73 20 6e 75 6c 6c 20   ┆   routines are defined as null ┆
0x920…940 6d 61 63 72 6f 73 20 69 6e 20 74 68 65 20 69 6e 63 6c 75 64 65 20 66 69 6c 65 0a 20 20 20 20 20   ┆macros in the include file      ┆
0x940…960 3c 5f 08 6e 5f 08 65 5f 08 74 5f 08 69 5f 08 6e 5f 08 65 5f 08 74 2f 5f 08 69 5f 08 6e 2e 5f 08   ┆<_ n_ e_ t_ i_ n_ e_ t/_ i_ n._ ┆
0x960…980 68 3e 2e 0a 0a 20 20 20 20 20 54 68 65 73 65 20 72 6f 75 74 69 6e 65 73 20 61 72 65 20 6d 6f 73   ┆h>.       These routines are mos┆
0x980…9a0 74 20 6f 66 74 65 6e 20 75 73 65 64 20 69 6e 20 63 6f 6e 6a 75 6e 63 74 69 6f 6e 20 77 69 74 68   ┆t often used in conjunction with┆
0x9a0…9c0 0a 20 20 20 20 20 49 6e 74 65 72 6e 65 74 20 61 64 64 72 65 73 73 65 73 20 61 6e 64 20 70 6f 72   ┆      Internet addresses and por┆
0x9c0…9e0 74 73 20 61 73 20 72 65 74 75 72 6e 65 64 20 62 79 0a 20 20 20 20 20 5f 08 67 5f 08 65 5f 08 74   ┆ts as returned by      _ g_ e_ t┆
0x9e0…a00 5f 08 68 5f 08 6f 5f 08 73 5f 08 74 5f 08 62 5f 08 79 5f 08 6e 5f 08 61 5f 08 6d 5f 08 65 28 33   ┆_ h_ o_ s_ t_ b_ y_ n_ a_ m_ e(3┆
0xa00…a20 6e 29 20 61 6e 64 20 5f 08 67 5f 08 65 5f 08 74 5f 08 73 5f 08 65 5f 08 72 5f 08 76 5f 08 65 5f   ┆n) and _ g_ e_ t_ s_ e_ r_ v_ e_┆
0xa20…a40 08 6e 5f 08 74 28 33 6e 29 2e 0a 0a 53 08 53 08 53 08 53 45 08 45 08 45 08 45 45 08 45 08 45 08   ┆ n_ t(3n).  S S S SE E E EE E E ┆
0xa40…a60 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 4f 08 4f 0a 20   ┆E A A A AL L L LS S S SO O O O  ┆
0xa60…a80 20 20 20 20 4c 69 62 72 61 72 79 20 46 75 6e 63 74 69 6f 6e 73 20 28 33 6e 29 3a 20 67 65 74 68   ┆    Library Functions (3n): geth┆
0xa80…aa0 6f 73 74 62 79 6e 61 6d 65 2c 20 67 65 74 73 65 72 76 65 6e 74 0a 0a 4d 61 72 63 68 20 31 39 38   ┆ostbyname, getservent  March 198┆
0xaa0…ac0 39 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 20 20 20 20 20 54   ┆9                              T┆
0xac0…ae0 58 20 50 72 6f 67 72 61 6d 6d 65 72 27 73 20 52 65 66 65 72 65 6e 63 65 0a 0a 0a 0a 0a 0a 0a 0a   ┆X Programmer's Reference        ┆
0xae0…af1 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a                                                ┆                 ┆