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

⟦1e24db8a7⟧

    Length: 2226 (0x8b2)
    Names: »system.3«

Derivation

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

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 20 20 20 20 73 79 73 74 65 6d 28 33 29 0a 0a 0a 0a   ┆ions               system(3)    ┆
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 79 73 74 65 6d 20 2d 20 69 73 73 75 65 20 61 20 73 68 65 6c 6c 20 63 6f 6d 6d 61 6e 64   ┆  system - issue a shell command┆
0x0a0…0c0 0a 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   ┆  S S S SY Y Y YN N N NT T T TA ┆
0x0c0…0e0 41 08 41 08 41 58 08 58 08 58 08 58 0a 20 20 20 20 20 23 08 23 08 23 08 23 69 08 69 08 69 08 69   ┆A A AX X X X      # # # #i i i i┆
0x0e0…100 6e 08 6e 08 6e 08 6e 63 08 63 08 63 08 63 6c 08 6c 08 6c 08 6c 75 08 75 08 75 08 75 64 08 64 08   ┆n n n nc c c cl l l lu u u ud d ┆
0x100…120 64 08 64 65 08 65 08 65 08 65 20 3c 08 3c 08 3c 08 3c 73 08 73 08 73 08 73 74 08 74 08 74 08 74   ┆d de e e e < < < <s s s st t t t┆
0x120…140 64 08 64 08 64 08 64 69 08 69 08 69 08 69 6f 08 6f 08 6f 08 6f 2e 08 2e 08 2e 08 2e 68 08 68 08   ┆d d d di i i io o o o. . . .h h ┆
0x140…160 68 08 68 3e 08 3e 08 3e 08 3e 0a 0a 20 20 20 20 20 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 74   ┆h h> > > >       i i i in n n nt┆
0x160…180 08 74 08 74 08 74 20 73 08 73 08 73 08 73 79 08 79 08 79 08 79 73 08 73 08 73 08 73 74 08 74 08   ┆ t t t s s s sy y y ys s s st t ┆
0x180…1a0 74 08 74 65 08 65 08 65 08 65 6d 08 6d 08 6d 08 6d 28 08 28 08 28 08 28 73 08 73 08 73 08 73 74   ┆t te e e em m m m( ( ( (s s s st┆
0x1a0…1c0 08 74 08 74 08 74 72 08 72 08 72 08 72 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 67 08 67 08 67   ┆ t t tr r r ri i i in n n ng g g┆
0x1c0…1e0 08 67 29 08 29 08 29 08 29 0a 20 20 20 20 20 63 08 63 08 63 08 63 68 08 68 08 68 08 68 61 08 61   ┆ g) ) ) )      c c c ch h h ha a┆
0x1e0…200 08 61 08 61 72 08 72 08 72 08 72 20 2a 08 2a 08 2a 08 2a 73 08 73 08 73 08 73 74 08 74 08 74 08   ┆ a ar r r r * * * *s s s st t t ┆
0x200…220 74 72 08 72 08 72 08 72 69 08 69 08 69 08 69 6e 08 6e 08 6e 08 6e 67 08 67 08 67 08 67 3b 08 3b   ┆tr r r ri i i in n n ng g g g; ;┆
0x220…240 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 08 43 08 43   ┆ ; ;  D D D DE E E ES S S SC C C┆
0x240…260 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 08 54 49 08   ┆ CR R R RI I I IP P P PT T T TI ┆
0x260…280 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 5f 08 79 5f   ┆I I IO O O ON N N N      _ s_ y_┆
0x280…2a0 08 73 5f 08 74 5f 08 65 5f 08 6d 20 63 61 75 73 65 73 20 74 68 65 20 5f 08 73 5f 08 74 5f 08 72   ┆ s_ t_ e_ m causes the _ s_ t_ r┆
0x2a0…2c0 5f 08 69 5f 08 6e 5f 08 67 20 74 6f 20 62 65 20 67 69 76 65 6e 20 74 6f 20 74 68 65 20 73 68 65   ┆_ i_ n_ g to be given to the she┆
0x2c0…2e0 6c 6c 20 5b 73 65 65 0a 20 20 20 20 20 5f 08 73 5f 08 68 28 31 29 5d 20 61 73 20 69 6e 70 75 74   ┆ll [see      _ s_ h(1)] as input┆
0x2e0…300 2c 20 61 73 20 69 66 20 74 68 65 20 73 74 72 69 6e 67 20 68 61 64 20 62 65 65 6e 20 74 79 70 65   ┆, as if the string had been type┆
0x300…320 64 20 61 73 20 61 20 63 6f 6d 2d 0a 20 20 20 20 20 6d 61 6e 64 20 61 74 20 61 20 74 65 72 6d 69   ┆d as a com-      mand at a termi┆
0x320…340 6e 61 6c 2e 20 20 54 68 65 20 63 75 72 72 65 6e 74 20 70 72 6f 63 65 73 73 20 77 61 69 74 73 20   ┆nal.  The current process waits ┆
0x340…360 75 6e 74 69 6c 20 74 68 65 0a 20 20 20 20 20 73 68 65 6c 6c 20 68 61 73 20 63 6f 6d 70 6c 65 74   ┆until the      shell has complet┆
0x360…380 65 64 2c 20 74 68 65 6e 20 72 65 74 75 72 6e 73 20 74 68 65 20 65 78 69 74 20 73 74 61 74 75 73   ┆ed, then returns the exit status┆
0x380…3a0 20 6f 66 20 74 68 65 0a 20 20 20 20 20 73 68 65 6c 6c 2e 0a 0a 20 20 20 20 20 49 66 20 5f 08 73   ┆ of the      shell.       If _ s┆
0x3a0…3c0 5f 08 74 5f 08 72 5f 08 69 5f 08 6e 5f 08 67 20 69 73 20 61 20 4e 55 4c 4c 20 70 6f 69 6e 74 65   ┆_ t_ r_ i_ n_ g is a NULL pointe┆
0x3c0…3e0 72 2c 20 5f 08 73 5f 08 79 5f 08 73 5f 08 74 5f 08 65 5f 08 6d 20 63 68 65 63 6b 73 20 69 66 20   ┆r, _ s_ y_ s_ t_ e_ m checks if ┆
0x3e0…400 2f 5f 08 62 5f 08 69 5f 08 6e 2f 5f 08 73 5f 08 68 20 65 78 69 73 74 73 0a 20 20 20 20 20 61 6e   ┆/_ b_ i_ n/_ s_ h exists      an┆
0x400…420 64 20 69 73 20 65 78 65 63 75 74 61 62 6c 65 2e 20 20 49 66 20 2f 5f 08 62 5f 08 69 5f 08 6e 2f   ┆d is executable.  If /_ b_ i_ n/┆
0x420…440 5f 08 73 5f 08 68 20 69 73 20 61 76 61 69 6c 61 62 6c 65 2c 20 5f 08 73 5f 08 79 5f 08 73 5f 08   ┆_ s_ h is available, _ s_ y_ s_ ┆
0x440…460 74 5f 08 65 5f 08 6d 20 72 65 74 75 72 6e 73 0a 20 20 20 20 20 6e 6f 6e 2d 7a 65 72 6f 3b 20 6f   ┆t_ e_ m returns      non-zero; o┆
0x460…480 74 68 65 72 77 69 73 65 20 69 74 20 72 65 74 75 72 6e 73 20 7a 65 72 6f 2e 0a 0a 52 08 52 08 52   ┆therwise it returns zero.  R R R┆
0x480…4a0 08 52 45 08 45 08 45 08 45 54 08 54 08 54 08 54 55 08 55 08 55 08 55 52 08 52 08 52 08 52 4e 08   ┆ RE E E ET T T TU U U UR R R RN ┆
0x4a0…4c0 4e 08 4e 08 4e 20 56 08 56 08 56 08 56 41 08 41 08 41 08 41 4c 08 4c 08 4c 08 4c 55 08 55 08 55   ┆N N N V V V VA A A AL L L LU U U┆
0x4c0…4e0 08 55 45 08 45 08 45 08 45 0a 20 20 20 20 20 55 70 6f 6e 20 73 75 63 63 65 73 73 66 75 6c 20 63   ┆ UE E E E      Upon successful c┆
0x4e0…500 6f 6d 70 6c 65 74 69 6f 6e 2c 20 5f 08 73 5f 08 79 5f 08 73 5f 08 74 5f 08 65 5f 08 6d 20 72 65   ┆ompletion, _ s_ y_ s_ t_ e_ m re┆
0x500…520 74 75 72 6e 73 20 74 68 65 20 65 78 69 74 20 73 74 61 74 75 73 0a 20 20 20 20 20 6f 66 20 74 68   ┆turns the exit status      of th┆
0x520…540 65 20 73 68 65 6c 6c 2e 20 4f 74 68 65 72 77 69 73 65 2c 20 69 74 20 72 65 74 75 72 6e 73 20 61   ┆e shell. Otherwise, it returns a┆
0x540…560 20 6e 65 67 61 74 69 76 65 20 6e 75 6d 62 65 72 20 61 6e 64 0a 20 20 20 20 20 73 65 74 73 20 5f   ┆ negative number and      sets _┆
0x560…580 08 65 5f 08 72 5f 08 72 5f 08 6e 5f 08 6f 20 74 6f 20 69 6e 64 69 63 61 74 65 20 74 68 65 20 65   ┆ e_ r_ r_ n_ o to indicate the e┆
0x580…5a0 72 72 6f 72 2e 20 20 45 78 69 74 20 73 74 61 74 75 73 20 31 32 37 20 69 6e 64 69 63 61 74 65 73   ┆rror.  Exit status 127 indicates┆
0x5a0…5c0 0a 20 20 20 20 20 74 68 61 74 20 74 68 65 20 73 68 65 6c 6c 20 63 6f 75 6c 64 20 6e 6f 74 20 62   ┆      that the shell could not b┆
0x5c0…5e0 65 20 65 78 65 63 75 74 65 64 2e 0a 0a 45 08 45 08 45 08 45 52 08 52 08 52 08 52 52 08 52 08 52   ┆e executed.  E E E ER R R RR R R┆
0x5e0…600 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 20 20 5f 08 73   ┆ RO O O OR R R RS S S S      _ s┆
0x600…620 5f 08 79 5f 08 73 5f 08 74 5f 08 65 5f 08 6d 20 66 61 69 6c 73 20 69 66 20 6f 6e 65 20 6f 72 20   ┆_ y_ s_ t_ e_ m fails if one or ┆
0x620…640 6d 6f 72 65 20 6f 66 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 61 72 65 20 74 72 75 65 3a 0a   ┆more of the following are true: ┆
0x640…660 0a 20 20 20 20 20 5b 45 41 47 41 49 4e 5d 20 20 20 20 20 20 20 54 68 65 20 73 79 73 74 65 6d 2d   ┆      [EAGAIN]       The system-┆
0x660…680 69 6d 70 6f 73 65 64 20 6c 69 6d 69 74 20 6f 6e 20 74 68 65 20 74 6f 74 61 6c 20 6e 75 6d 62 65   ┆imposed limit on the total numbe┆
0x680…6a0 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f 66 20 70 72 6f 63 65 73 73   ┆r                     of process┆
0x6a0…6c0 65 73 20 75 6e 64 65 72 20 65 78 65 63 75 74 69 6f 6e 20 62 79 20 61 20 73 69 6e 67 6c 65 20 75   ┆es under execution by a single u┆
0x6c0…6e0 73 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 6f 75 6c 64 20 62 65   ┆ser                     would be┆
0x6e0…700 20 65 78 63 65 65 64 65 64 2e 0a 0a 20 20 20 20 20 5b 45 49 4e 54 52 5d 20 20 20 20 20 20 20 20   ┆ exceeded.       [EINTR]        ┆
0x700…720 5f 08 73 5f 08 79 5f 08 73 5f 08 74 5f 08 65 5f 08 6d 20 77 61 73 20 69 6e 74 65 72 75 70 74 65   ┆_ s_ y_ s_ t_ e_ m was interupte┆
0x720…740 64 20 62 79 20 61 20 73 69 67 6e 61 6c 2e 0a 0a 20 20 20 20 20 5b 45 4e 4f 4d 45 4d 5d 20 20 20   ┆d by a signal.       [ENOMEM]   ┆
0x740…760 20 20 20 20 54 68 65 20 6e 65 77 20 70 72 6f 63 65 73 73 20 72 65 71 75 69 72 65 73 20 6d 6f 72   ┆    The new process requires mor┆
0x760…780 65 20 6d 65 6d 6f 72 79 20 74 68 61 6e 20 69 73 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆e memory than is                ┆
0x780…7a0 20 20 20 20 20 61 6c 6c 6f 77 65 64 20 62 79 20 74 68 65 20 73 79 73 74 65 6d 2d 69 6d 70 6f 73   ┆     allowed by the system-impos┆
0x7a0…7c0 65 64 20 6d 61 78 69 6d 75 6d 20 7b 4d 41 58 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ┆ed maximum {MAX-                ┆
0x7c0…7e0 20 20 20 20 20 4d 45 4d 7d 2e 0a 0a 53 08 53 08 53 08 53 45 08 45 08 45 08 45 45 08 45 08 45 08   ┆     MEM}.  S S S SE E E EE E E ┆
0x7e0…800 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  ┆
0x800…820 20 20 20 20 55 73 65 72 27 73 20 52 65 66 65 72 65 6e 63 65 20 4d 61 6e 75 61 6c 20 28 31 29 3a   ┆    User's Reference Manual (1):┆
0x820…840 20 73 68 0a 20 20 20 20 20 53 79 73 74 65 6d 20 43 61 6c 6c 73 20 28 32 29 3a 20 65 78 65 63 0a   ┆ sh      System Calls (2): exec ┆
0x840…860 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 77 61 69 74   ┆     Library Functions (3): wait┆
0x860…880 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 20   ┆  December 1990                 ┆
0x880…8a0 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┆
0x8a0…8b2 6e 63 65 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a 0a                                             ┆nce               ┆