|
|
DataMuseum.dkPresents historical artifacts from the history of: RC9000 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about RC9000 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - downloadIndex: l
Length: 2858 (0xb2a)
Names: »log_perror.3«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./bsd/usr/man/cat3/log_perror.3«
└─⟦this⟧ »./usr/man/cat3/log_perror.3«
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 6c 6f 67 5f 70 65 72 72 6f 72 28 33 29 0a 0a 0a 0a ┆ions log_perror(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 6c 6f 67 5f 70 65 72 72 6f 72 20 20 2d 20 77 72 69 74 65 20 61 20 73 79 73 74 65 6d 20 63 ┆ log_perror - write a system c┆ 0x0a0…0c0 61 6c 6c 20 65 72 72 6f 72 20 6d 65 73 73 61 67 65 20 74 6f 0a 20 20 20 20 20 2f 64 65 76 2f 65 ┆all error message to /dev/e┆ 0x0c0…0e0 72 72 6f 72 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 ┆rror S S S SY Y Y YN N N NT T T┆ 0x0e0…100 08 54 41 08 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 ┆ TA A A AX X X X # # # #i i┆ 0x100…120 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 75 08 75 08 75 08 75 ┆ i in n n nc c c cl l l lu u u u┆ 0x120…140 64 08 64 08 64 08 64 65 08 65 08 65 08 65 20 22 08 22 08 22 08 22 72 08 72 08 72 08 72 65 08 65 ┆d d d de e e e " " " "r r r re e┆ 0x140…160 08 65 08 65 73 08 73 08 73 08 73 75 08 75 08 75 08 75 6c 08 6c 08 6c 08 6c 74 08 74 08 74 08 74 ┆ e es s s su u u ul l l lt t t t┆ 0x160…180 2e 08 2e 08 2e 08 2e 68 08 68 08 68 08 68 22 08 22 08 22 08 22 0a 0a 20 20 20 20 20 6c 08 6c 08 ┆. . . .h h h h" " " " l l ┆ 0x180…1a0 6c 08 6c 6f 08 6f 08 6f 08 6f 67 08 67 08 67 08 67 5f 08 5f 08 5f 08 5f 70 08 70 08 70 08 70 65 ┆l lo o o og g g g_ _ _ _p p p pe┆ 0x1a0…1c0 08 65 08 65 08 65 72 08 72 08 72 08 72 72 08 72 08 72 08 72 6f 08 6f 08 6f 08 6f 72 08 72 08 72 ┆ e e er r r rr r r ro o o or r r┆ 0x1c0…1e0 08 72 28 08 28 08 28 08 28 5f 08 6e 5f 08 75 5f 08 6d 2c 08 2c 08 2c 08 2c 5f 08 73 2c 08 2c 08 ┆ r( ( ( (_ n_ u_ m, , , ,_ s, , ┆ 0x1e0…200 2c 08 2c 5f 08 6d 5f 08 73 5f 08 67 29 08 29 08 29 08 29 0a 20 20 20 20 20 69 08 69 08 69 08 69 ┆, ,_ m_ s_ g) ) ) ) i i i i┆ 0x200…220 6e 08 6e 08 6e 08 6e 74 08 74 08 74 08 74 20 5f 08 6e 5f 08 75 5f 08 6d 3b 08 3b 08 3b 08 3b 0a ┆n n n nt t t t _ n_ u_ m; ; ; ; ┆ 0x220…240 20 20 20 20 20 63 08 63 08 63 08 63 68 08 68 08 68 08 68 61 08 61 08 61 08 61 72 08 72 08 72 08 ┆ c c c ch h h ha a a ar r r ┆ 0x240…260 72 20 2a 08 2a 08 2a 08 2a 5f 08 73 2c 08 2c 08 2c 08 2c 20 2a 5f 08 6d 5f 08 73 5f 08 67 3b 08 ┆r * * * *_ s, , , , *_ m_ s_ g; ┆ 0x260…280 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 08 43 08 ┆; ; ; D D D DE E E ES S S SC C ┆ 0x280…2a0 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 08 54 49 ┆C CR R R RI I I IP P P PT T T TI┆ 0x2a0…2c0 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 6c 5f 08 6f ┆ I I IO O O ON N N N _ l_ o┆ 0x2c0…2e0 5f 08 67 5f 5f 08 70 5f 08 65 5f 08 72 5f 08 72 5f 08 6f 5f 08 72 20 77 72 69 74 65 73 20 74 68 ┆_ g__ p_ e_ r_ r_ o_ r writes th┆ 0x2e0…300 65 20 6c 61 73 74 20 73 79 73 74 65 6d 20 63 61 6c 6c 20 65 72 72 6f 72 20 74 6f 20 2f 64 65 76 ┆e last system call error to /dev┆ 0x300…320 2f 65 72 72 6f 72 2e 0a 20 20 20 20 20 5f 08 54 5f 08 68 5f 08 65 20 5f 08 6d 5f 08 65 5f 08 73 ┆/error. _ T_ h_ e _ m_ e_ s┆ 0x320…340 5f 08 73 5f 08 61 5f 08 67 5f 08 65 20 5f 08 69 5f 08 73 20 5f 08 74 5f 08 68 5f 08 65 20 5f 08 ┆_ s_ a_ g_ e _ i_ s _ t_ h_ e _ ┆ 0x340…360 73 5f 08 61 5f 08 6d 5f 08 65 20 5f 08 61 5f 08 73 20 5f 08 72 5f 08 65 5f 08 74 5f 08 75 5f 08 ┆s_ a_ m_ e _ a_ s _ r_ e_ t_ u_ ┆ 0x360…380 72 5f 08 6e 5f 08 65 5f 08 64 20 5f 08 62 5f 08 79 20 5f 08 74 5f 08 68 5f 08 65 20 5f 08 70 5f ┆r_ n_ e_ d _ b_ y _ t_ h_ e _ p_┆ 0x380…3a0 08 65 5f 08 72 5f 08 72 5f 08 6f 5f 08 72 28 5f 08 33 29 20 5f 08 6c 5f 08 69 5f 08 62 5f 08 72 ┆ e_ r_ r_ o_ r(_ 3) _ l_ i_ b_ r┆ 0x3a0…3c0 5f 08 61 5f 08 72 5f 08 79 0a 20 20 20 20 20 5f 08 66 5f 08 75 5f 08 6e 5f 08 63 5f 08 74 5f 08 ┆_ a_ r_ y _ f_ u_ n_ c_ t_ ┆ 0x3c0…3e0 69 5f 08 6f 5f 08 6e 2c 20 5f 08 62 5f 08 75 5f 08 74 20 5f 08 62 5f 08 65 5f 08 63 5f 08 61 5f ┆i_ o_ n, _ b_ u_ t _ b_ e_ c_ a_┆ 0x3e0…400 08 75 5f 08 73 5f 08 65 20 5f 08 69 5f 08 74 20 5f 08 69 5f 08 73 20 5f 08 77 5f 08 72 5f 08 69 ┆ u_ s_ e _ i_ t _ i_ s _ w_ r_ i┆ 0x400…420 5f 08 74 5f 08 74 5f 08 65 5f 08 6e 20 5f 08 74 5f 08 6f 20 2f 5f 08 64 5f 08 65 5f 08 76 2f 5f ┆_ t_ t_ e_ n _ t_ o /_ d_ e_ v/_┆ 0x420…440 08 65 5f 08 72 5f 08 72 5f 08 6f 5f 08 72 20 5f 08 69 5f 08 6e 5f 08 73 5f 08 74 5f 08 65 5f 08 ┆ e_ r_ r_ o_ r _ i_ n_ s_ t_ e_ ┆ 0x440…460 61 5f 08 64 20 5f 08 6f 5f 08 66 0a 20 20 20 20 20 5f 08 74 5f 08 68 5f 08 65 20 5f 08 73 5f 08 ┆a_ d _ o_ f _ t_ h_ e _ s_ ┆ 0x460…480 74 5f 08 61 5f 08 6e 5f 08 64 5f 08 61 5f 08 72 5f 08 64 20 5f 08 6f 5f 08 75 5f 08 74 5f 08 70 ┆t_ a_ n_ d_ a_ r_ d _ o_ u_ t_ p┆ 0x480…4a0 5f 08 75 5f 08 74 2c 20 5f 08 74 5f 08 68 5f 08 65 20 5f 08 65 5f 08 72 5f 08 72 5f 08 6f 5f 08 ┆_ u_ t, _ t_ h_ e _ e_ r_ r_ o_ ┆ 0x4a0…4c0 72 20 5f 08 69 5f 08 73 20 5f 08 74 5f 08 72 5f 08 65 5f 08 61 5f 08 74 5f 08 65 5f 08 64 20 5f ┆r _ i_ s _ t_ r_ e_ a_ t_ e_ d _┆ 0x4c0…4e0 08 62 5f 08 79 20 5f 08 74 5f 08 68 5f 08 65 20 5f 08 65 5f 08 72 5f 08 72 5f 08 64 5f 08 61 5f ┆ b_ y _ t_ h_ e _ e_ r_ r_ d_ a_┆ 0x4e0…500 08 65 5f 08 6d 5f 08 6f 5f 08 6e 0a 20 20 20 20 20 5f 08 70 5f 08 72 5f 08 6f 5f 08 63 5f 08 65 ┆ e_ m_ o_ n _ p_ r_ o_ c_ e┆ 0x500…520 5f 08 73 5f 08 73 20 5f 08 61 5f 08 73 20 5f 08 61 5f 08 6e 5f 08 79 20 5f 08 73 5f 08 79 5f 08 ┆_ s_ s _ a_ s _ a_ n_ y _ s_ y_ ┆ 0x520…540 73 5f 08 74 5f 08 65 5f 08 6d 20 5f 08 6d 5f 08 65 5f 08 73 5f 08 73 5f 08 61 5f 08 67 5f 08 65 ┆s_ t_ e_ m _ m_ e_ s_ s_ a_ g_ e┆ 0x540…560 2e 0a 0a 20 20 20 20 20 5f 08 6e 5f 08 75 5f 08 6d 20 20 20 20 20 20 20 54 68 65 20 69 64 65 6e ┆. _ n_ u_ m The iden┆ 0x560…580 74 69 66 69 65 72 20 6f 66 20 61 20 6d 65 73 73 61 67 65 20 77 68 6f 73 65 20 74 65 78 74 20 69 ┆tifier of a message whose text i┆ 0x580…5a0 73 20 64 65 66 69 6e 65 64 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 69 6e 20 61 20 66 69 ┆s defined in a fi┆ 0x5a0…5c0 6c 65 20 69 6e 20 74 68 65 20 2f 65 74 63 2f 6c 6f 67 65 72 72 20 64 69 72 65 63 74 6f 72 79 2e ┆le in the /etc/logerr directory.┆ 0x5c0…5e0 20 54 68 65 20 75 73 65 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 68 6f 6f 73 65 73 ┆ The user chooses┆ 0x5e0…600 20 74 68 65 20 6e 61 6d 65 20 61 6e 64 20 70 6c 61 63 65 73 20 69 74 20 69 6e 20 74 68 65 20 61 ┆ the name and places it in the a┆ 0x600…620 70 70 72 6f 70 72 69 61 74 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66 69 6c 65 2e 20 ┆ppropriate file. ┆ 0x620…640 20 59 6f 75 20 6d 75 73 74 20 61 6c 73 6f 20 72 75 6e 20 5f 08 4d 5f 08 61 5f 08 6b 5f 08 65 5f ┆ You must also run _ M_ a_ k_ e_┆ 0x640…660 08 52 5f 08 65 5f 08 73 5f 08 75 5f 08 6c 5f 08 74 20 74 6f 20 70 75 74 20 74 68 65 0a 20 20 20 ┆ R_ e_ s_ u_ l_ t to put the ┆ 0x660…680 20 20 20 20 20 20 20 20 20 20 20 20 6e 61 6d 65 20 69 6e 20 79 6f 75 72 20 72 65 73 75 6c 74 2e ┆ name in your result.┆ 0x680…6a0 68 20 5f 08 66 5f 08 69 5f 08 6c 5f 08 65 2e 0a 0a 20 20 20 20 20 5f 08 73 20 20 20 20 20 20 20 ┆h _ f_ i_ l_ e. _ s ┆ 0x6a0…6c0 20 20 41 6e 79 20 63 68 61 72 61 63 74 65 72 20 73 74 72 69 6e 67 2c 20 75 73 75 61 6c 6c 79 20 ┆ Any character string, usually ┆ 0x6c0…6e0 74 68 65 20 70 72 6f 67 72 61 6d 20 6e 61 6d 65 2e 0a 0a 20 20 20 20 20 5f 08 6d 5f 08 73 5f 08 ┆the program name. _ m_ s_ ┆ 0x6e0…700 67 20 20 20 20 20 20 20 41 20 74 65 78 74 20 6d 65 73 73 61 67 65 20 64 65 73 63 72 69 62 69 6e ┆g A text message describin┆ 0x700…720 67 20 74 68 65 20 61 74 74 65 6d 70 74 65 64 20 6f 70 65 72 61 74 69 6f 6e 2e 0a 0a 20 20 20 20 ┆g the attempted operation. ┆ 0x720…740 20 54 68 65 20 65 6e 74 72 79 20 69 6e 20 74 68 65 20 66 69 6c 65 20 69 6e 20 74 68 65 20 2f 65 ┆ The entry in the file in the /e┆ 0x740…760 74 63 2f 6c 6f 67 65 72 72 20 64 69 72 65 63 74 6f 72 79 20 6d 75 73 74 20 70 72 6f 2d 0a 20 20 ┆tc/logerr directory must pro- ┆ 0x760…780 20 20 20 76 69 64 65 20 66 6f 72 20 61 20 6d 65 73 73 61 67 65 20 77 69 74 68 20 33 20 61 72 67 ┆ vide for a message with 3 arg┆ 0x780…7a0 75 6d 65 6e 74 73 2c 20 66 6f 72 20 65 78 61 6d 70 6c 65 3a 0a 0a 20 20 20 20 20 20 20 20 20 20 ┆uments, for example: ┆ 0x7a0…7c0 20 20 20 20 20 69 6e 66 6f 20 50 52 4f 47 5f 45 52 52 4f 52 20 20 20 20 20 22 25 73 20 25 73 20 ┆ info PROG_ERROR "%s %s ┆ 0x7c0…7e0 25 73 22 0a 0a 20 20 20 20 20 59 6f 75 20 6d 61 79 20 61 64 64 20 74 65 78 74 20 74 6f 20 74 68 ┆%s" You may add text to th┆ 0x7e0…800 65 20 6d 65 73 73 61 67 65 20 62 79 20 69 6e 63 6c 75 64 69 6e 67 20 74 65 78 74 20 62 65 74 77 ┆e message by including text betw┆ 0x800…820 65 65 6e 0a 20 20 20 20 20 74 68 65 20 71 75 6f 74 65 73 2c 20 62 75 74 20 74 68 65 72 65 20 6d ┆een the quotes, but there m┆ 0x820…840 75 73 74 20 62 65 20 65 78 61 63 74 6c 79 20 33 20 61 72 67 75 6d 65 6e 74 20 64 65 73 63 72 69 ┆ust be exactly 3 argument descri┆ 0x840…860 70 2d 0a 20 20 20 20 20 74 6f 72 73 2c 20 61 6e 64 20 74 68 65 79 20 6d 75 73 74 20 62 65 20 74 ┆p- tors, and they must be t┆ 0x860…880 68 65 20 6f 6e 65 73 20 73 68 6f 77 6e 20 69 6e 20 74 68 65 20 65 78 61 6d 70 6c 65 20 61 62 6f ┆he ones shown in the example abo┆ 0x880…8a0 76 65 2e 0a 0a 20 20 20 20 20 54 68 65 20 66 69 72 73 74 20 61 72 67 75 6d 65 6e 74 20 69 73 20 ┆ve. The first argument is ┆ 0x8a0…8c0 74 68 65 20 73 74 72 69 6e 67 20 28 6f 72 20 5f 08 73 29 20 61 72 67 75 6d 65 6e 74 20 20 2d 20 ┆the string (or _ s) argument - ┆ 0x8c0…8e0 75 73 75 61 6c 6c 79 0a 20 20 20 20 20 74 68 65 20 70 72 6f 67 72 61 6d 20 6e 61 6d 65 2c 20 74 ┆usually the program name, t┆ 0x8e0…900 68 65 20 73 65 63 6f 6e 64 20 69 73 20 74 68 65 20 74 65 78 74 20 70 72 6f 76 69 64 65 64 20 69 ┆he second is the text provided i┆ 0x900…920 6e 20 5f 08 6d 5f 08 73 5f 08 67 2c 0a 20 20 20 20 20 61 6e 64 20 74 68 65 20 74 68 69 72 64 20 ┆n _ m_ s_ g, and the third ┆ 0x920…940 74 68 65 20 65 72 72 6f 72 20 6d 65 73 73 61 67 65 20 69 74 73 65 6c 66 20 63 6f 72 72 65 73 70 ┆the error message itself corresp┆ 0x940…960 6f 6e 64 69 6e 67 20 74 6f 20 74 68 65 0a 20 20 20 20 20 65 08 65 08 65 08 65 72 08 72 08 72 08 ┆onding to the e e e er r r ┆ 0x960…980 72 72 08 72 08 72 08 72 6e 08 6e 08 6e 08 6e 6f 08 6f 08 6f 08 6f 20 76 61 72 69 61 62 6c 65 2e ┆rr r r rn n n no o o o variable.┆ 0x980…9a0 0a 0a 45 08 45 08 45 08 45 58 08 58 08 58 08 58 41 08 41 08 41 08 41 4d 08 4d 08 4d 08 4d 50 08 ┆ E E E EX X X XA A A AM M M MP ┆ 0x9a0…9c0 50 08 50 08 50 4c 08 4c 08 4c 08 4c 45 08 45 08 45 08 45 0a 20 20 20 20 20 20 20 20 20 20 20 20 ┆P P PL L L LE E E E ┆ 0x9c0…9e0 20 20 20 6c 6f 67 5f 70 65 72 72 6f 72 28 50 52 4f 47 5f 45 52 52 4f 52 2c 22 6d 79 5f 70 72 6f ┆ log_perror(PROG_ERROR,"my_pro┆ 0x9e0…a00 67 22 2c 22 77 72 69 74 65 20 66 61 69 6c 65 64 22 29 3b 0a 0a 53 08 53 08 53 08 53 45 08 45 08 ┆g","write failed"); S S S SE E ┆ 0xa00…a20 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 53 08 53 ┆E EE E E E A A A AL L L LS S S S┆ 0xa20…a40 4f 08 4f 08 4f 08 4f 0a 20 20 20 20 20 55 73 65 72 20 43 6f 6d 6d 61 6e 64 73 20 28 31 29 3a 20 ┆O O O O User Commands (1): ┆ 0xa40…a60 4d 61 6b 65 52 65 73 75 6c 74 0a 20 20 20 20 20 53 79 73 74 65 6d 20 43 61 6c 6c 73 20 28 32 29 ┆MakeResult System Calls (2)┆ 0xa60…a80 3a 20 69 6e 74 72 6f 0a 20 20 20 20 20 4c 69 62 72 61 72 79 20 46 75 6e 63 74 69 6f 6e 73 20 28 ┆: intro Library Functions (┆ 0xa80…aa0 33 29 3a 20 6c 6f 67 5f 65 72 72 6f 72 2c 20 70 65 72 72 6f 72 2c 20 70 72 69 6e 74 66 0a 20 20 ┆3): log_error, perror, printf ┆ 0xaa0…ac0 20 20 20 46 69 6c 65 73 20 28 35 29 3a 20 6c 6f 67 65 72 72 0a 20 20 20 20 20 53 79 73 74 65 6d ┆ Files (5): logerr System┆ 0xac0…ae0 20 4d 61 6e 61 67 65 72 20 43 6f 6d 6d 61 6e 64 73 20 28 38 29 3a 20 65 72 72 64 61 65 6d 6f 6e ┆ Manager Commands (8): errdaemon┆ 0xae0…b00 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 ┆ 0xb00…b20 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┆ 0xb20…b2a 6e 63 65 0a 0a 0a 0a 0a 0a 0a ┆nce ┆