|
|
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: c
Length: 5159 (0x1427)
Names: »catopen.3«
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
└─⟦bbf173f5c⟧ »0004«
└─⟦this⟧ »./usr/man/cat3/catopen.3«
0x0000…0020 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_┆ 0x0020…0040 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┆ 0x0040…0060 69 6f 6e 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 63 61 74 6f 70 65 6e 28 33 29 0a 0a 0a 0a ┆ions catopen(3) ┆ 0x0060…0080 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 ┆ 0x0080…00a0 20 20 63 61 74 6f 70 65 6e 2c 20 63 61 74 63 6c 6f 73 65 20 2d 20 6f 70 65 6e 2f 63 6c 6f 73 65 ┆ catopen, catclose - open/close┆ 0x00a0…00c0 20 61 20 6d 65 73 73 61 67 65 20 63 61 74 61 6c 6f 67 75 65 0a 0a 53 08 53 08 53 08 53 59 08 59 ┆ a message catalogue S S S SY Y┆ 0x00c0…00e0 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 08 58 ┆ Y YN N N NT T T TA A A AX X X X┆ 0x00e0…0100 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 08 63 ┆ # # # #i i i in n n nc c c┆ 0x0100…0120 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 20 3c ┆ cl l l lu u u ud d d de e e e <┆ 0x0120…0140 08 3c 08 3c 08 3c 6e 08 6e 08 6e 08 6e 6c 08 6c 08 6c 08 6c 5f 08 5f 08 5f 08 5f 74 08 74 08 74 ┆ < < <n n n nl l l l_ _ _ _t t t┆ 0x0140…0160 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 08 73 2e 08 ┆ ty y y yp p p pe e e es s s s. ┆ 0x0160…0180 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 6e 08 6e 08 6e 08 ┆. . .h h h h> > > > n n n ┆ 0x0180…01a0 6e 6c 08 6c 08 6c 08 6c 5f 08 5f 08 5f 08 5f 63 08 63 08 63 08 63 61 08 61 08 61 08 61 74 08 74 ┆nl l l l_ _ _ _c c c ca a a at t┆ 0x01a0…01c0 08 74 08 74 64 08 64 08 64 08 64 20 63 08 63 08 63 08 63 61 08 61 08 61 08 61 74 08 74 08 74 08 ┆ t td d d d c c c ca a a at t t ┆ 0x01c0…01e0 74 6f 08 6f 08 6f 08 6f 70 08 70 08 70 08 70 65 08 65 08 65 08 65 6e 08 6e 08 6e 08 6e 28 08 28 ┆to o o op p p pe e e en n n n( (┆ 0x01e0…0200 08 28 08 28 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 ┆ ( (n n n na a a am m m me e e e┆ 0x0200…0220 2c 08 2c 08 2c 08 2c 20 6f 08 6f 08 6f 08 6f 66 08 66 08 66 08 66 6c 08 6c 08 6c 08 6c 61 08 61 ┆, , , , o o o of f f fl l l la a┆ 0x0220…0240 08 61 08 61 67 08 67 08 67 08 67 29 08 29 08 29 08 29 0a 20 20 20 20 20 63 08 63 08 63 08 63 68 ┆ a ag g g g) ) ) ) c c c ch┆ 0x0240…0260 08 68 08 68 08 68 61 08 61 08 61 08 61 72 08 72 08 72 08 72 20 2a 08 2a 08 2a 08 2a 6e 08 6e 08 ┆ h h ha a a ar r r r * * * *n n ┆ 0x0260…0280 6e 08 6e 61 08 61 08 61 08 61 6d 08 6d 08 6d 08 6d 65 08 65 08 65 08 65 3b 08 3b 08 3b 08 3b 0a ┆n na a a am m m me e e e; ; ; ; ┆ 0x0280…02a0 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 6f 08 6f 08 6f ┆ i i i in n n nt t t t o o o┆ 0x02a0…02c0 08 6f 66 08 66 08 66 08 66 6c 08 6c 08 6c 08 6c 61 08 61 08 61 08 61 67 08 67 08 67 08 67 3b 08 ┆ of f f fl l l la a a ag g g g; ┆ 0x02c0…02e0 3b 08 3b 08 3b 0a 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 ┆; ; ; i i i in n n nt t t ┆ 0x02e0…0300 74 20 63 08 63 08 63 08 63 61 08 61 08 61 08 61 74 08 74 08 74 08 74 63 08 63 08 63 08 63 6c 08 ┆t c c c ca a a at t t tc c c cl ┆ 0x0300…0320 6c 08 6c 08 6c 6f 08 6f 08 6f 08 6f 73 08 73 08 73 08 73 65 08 65 08 65 08 65 28 08 28 08 28 08 ┆l l lo o o os s s se e e e( ( ( ┆ 0x0320…0340 28 63 08 63 08 63 08 63 61 08 61 08 61 08 61 74 08 74 08 74 08 74 64 08 64 08 64 08 64 29 08 29 ┆(c c c ca a a at t t td d d d) )┆ 0x0340…0360 08 29 08 29 0a 20 20 20 20 20 6e 08 6e 08 6e 08 6e 6c 08 6c 08 6c 08 6c 5f 08 5f 08 5f 08 5f 63 ┆ ) ) n n n nl l l l_ _ _ _c┆ 0x0360…0380 08 63 08 63 08 63 61 08 61 08 61 08 61 74 08 74 08 74 08 74 64 08 64 08 64 08 64 20 63 08 63 08 ┆ c c ca a a at t t td d d d c c ┆ 0x0380…03a0 63 08 63 61 08 61 08 61 08 61 74 08 74 08 74 08 74 64 08 64 08 64 08 64 3b 08 3b 08 3b 08 3b 0a ┆c ca a a at t t td d d d; ; ; ; ┆ 0x03a0…03c0 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 08 43 52 08 52 ┆ D D D DE E E ES S S SC C C CR R┆ 0x03c0…03e0 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 49 08 49 08 49 ┆ R RI I I IP P P PT T T TI I I I┆ 0x03e0…0400 4f 08 4f 08 4f 08 4f 4e 08 4e 08 4e 08 4e 0a 20 20 20 20 20 5f 08 63 5f 08 61 5f 08 74 5f 08 6f ┆O O O ON N N N _ c_ a_ t_ o┆ 0x0400…0420 5f 08 70 5f 08 65 5f 08 6e 20 6f 70 65 6e 73 20 61 20 6d 65 73 73 61 67 65 20 63 61 74 61 6c 6f ┆_ p_ e_ n opens a message catalo┆ 0x0420…0440 67 75 65 20 61 6e 64 20 72 65 74 75 72 6e 73 20 61 20 63 61 74 61 6c 6f 67 75 65 0a 20 20 20 20 ┆gue and returns a catalogue ┆ 0x0440…0460 20 64 65 73 63 72 69 70 74 6f 72 2e 20 20 5f 08 6e 5f 08 61 5f 08 6d 5f 08 65 20 73 70 65 63 69 ┆ descriptor. _ n_ a_ m_ e speci┆ 0x0460…0480 66 69 65 73 20 74 68 65 20 6e 61 6d 65 20 6f 66 20 74 68 65 20 6d 65 73 73 61 67 65 20 63 61 74 ┆fies the name of the message cat┆ 0x0480…04a0 61 6c 6f 2d 0a 20 20 20 20 20 67 75 65 20 74 6f 20 62 65 20 6f 70 65 6e 65 64 2e 20 20 49 66 20 ┆alo- gue to be opened. If ┆ 0x04a0…04c0 5f 08 6e 5f 08 61 5f 08 6d 5f 08 65 20 63 6f 6e 74 61 69 6e 73 20 61 20 60 60 2f 27 27 20 74 68 ┆_ n_ a_ m_ e contains a ``/'' th┆ 0x04c0…04e0 65 6e 20 5f 08 6e 5f 08 61 5f 08 6d 5f 08 65 20 73 70 65 63 69 2d 0a 20 20 20 20 20 66 69 65 73 ┆en _ n_ a_ m_ e speci- fies┆ 0x04e0…0500 20 61 20 70 61 74 68 6e 61 6d 65 20 66 6f 72 20 74 68 65 20 6d 65 73 73 61 67 65 20 63 61 74 61 ┆ a pathname for the message cata┆ 0x0500…0520 6c 6f 67 75 65 2e 20 20 4f 74 68 65 72 77 69 73 65 2c 20 74 68 65 0a 20 20 20 20 20 65 6e 76 69 ┆logue. Otherwise, the envi┆ 0x0520…0540 72 6f 6e 6d 65 6e 74 20 76 61 72 69 61 62 6c 65 20 4e 4c 53 50 41 54 48 20 69 73 20 75 73 65 64 ┆ronment variable NLSPATH is used┆ 0x0540…0560 2e 20 20 49 66 20 4e 4c 53 50 41 54 48 20 64 6f 65 73 20 6e 6f 74 0a 20 20 20 20 20 65 78 69 73 ┆. If NLSPATH does not exis┆ 0x0560…0580 74 20 69 6e 20 74 68 65 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 2c 20 6f 72 20 69 66 20 61 20 6d 65 ┆t in the environment, or if a me┆ 0x0580…05a0 73 73 61 67 65 20 63 61 74 61 6c 6f 67 75 65 20 63 61 6e 6e 6f 74 0a 20 20 20 20 20 62 65 20 6f ┆ssage catalogue cannot be o┆ 0x05a0…05c0 70 65 6e 65 64 20 69 6e 20 61 6e 79 20 6f 66 20 74 68 65 20 70 61 74 68 73 20 73 70 65 63 69 66 ┆pened in any of the paths specif┆ 0x05c0…05e0 69 65 64 20 62 79 20 4e 4c 53 50 41 54 48 2c 20 74 68 65 6e 20 74 68 65 0a 20 20 20 20 20 64 65 ┆ied by NLSPATH, then the de┆ 0x05e0…0600 66 61 75 6c 74 20 70 61 74 68 20 69 73 20 75 73 65 64 20 5b 73 65 65 20 5f 08 6e 5f 08 6c 5f 5f ┆fault path is used [see _ n_ l__┆ 0x0600…0620 08 74 5f 08 79 5f 08 70 5f 08 65 5f 08 73 5d 2e 0a 0a 20 20 20 20 20 54 68 65 20 6e 61 6d 65 73 ┆ t_ y_ p_ e_ s]. The names┆ 0x0620…0640 20 6f 66 20 6d 65 73 73 61 67 65 20 63 61 74 61 6c 6f 67 75 65 73 2c 20 61 6e 64 20 74 68 65 69 ┆ of message catalogues, and thei┆ 0x0640…0660 72 20 6c 6f 63 61 74 69 6f 6e 20 69 6e 20 74 68 65 0a 20 20 20 20 20 66 69 6c 65 73 74 6f 72 65 ┆r location in the filestore┆ 0x0660…0680 2c 20 63 61 6e 20 76 61 72 79 20 66 72 6f 6d 20 6f 6e 65 20 73 79 73 74 65 6d 20 74 6f 20 61 6e ┆, can vary from one system to an┆ 0x0680…06a0 6f 74 68 65 72 2e 20 20 49 6e 64 69 76 69 64 75 61 6c 0a 20 20 20 20 20 61 70 70 6c 69 63 61 74 ┆other. Individual applicat┆ 0x06a0…06c0 69 6f 6e 73 20 63 61 6e 20 63 68 6f 6f 73 65 20 74 6f 20 6e 61 6d 65 20 6f 72 20 6c 6f 63 61 74 ┆ions can choose to name or locat┆ 0x06c0…06e0 65 20 6d 65 73 73 61 67 65 20 63 61 74 61 6c 6f 67 75 65 73 0a 20 20 20 20 20 61 63 63 6f 72 64 ┆e message catalogues accord┆ 0x06e0…0700 69 6e 67 20 74 6f 20 74 68 65 69 72 20 6f 77 6e 20 73 70 65 63 69 61 6c 20 6e 65 65 64 73 2e 20 ┆ing to their own special needs. ┆ 0x0700…0720 20 41 20 6d 65 63 68 61 6e 69 73 6d 20 69 73 20 74 68 65 72 65 2d 0a 20 20 20 20 20 66 6f 72 65 ┆ A mechanism is there- fore┆ 0x0720…0740 20 72 65 71 75 69 72 65 64 20 74 6f 20 73 70 65 63 69 66 79 20 77 68 65 72 65 20 74 68 65 20 63 ┆ required to specify where the c┆ 0x0740…0760 61 74 61 6c 6f 67 75 65 20 72 65 73 69 64 65 73 2e 0a 0a 20 20 20 20 20 54 68 65 20 4e 4c 53 50 ┆atalogue resides. The NLSP┆ 0x0760…0780 41 54 48 20 76 61 72 69 61 62 6c 65 20 70 72 6f 76 69 64 65 73 20 62 6f 74 68 20 74 68 65 20 6c ┆ATH variable provides both the l┆ 0x0780…07a0 6f 63 61 74 69 6f 6e 20 6f 66 20 6d 65 73 73 61 67 65 0a 20 20 20 20 20 63 61 74 61 6c 6f 67 75 ┆ocation of message catalogu┆ 0x07a0…07c0 65 73 2c 20 69 6e 20 74 68 65 20 66 6f 72 6d 20 6f 66 20 61 20 73 65 61 72 63 68 20 70 61 74 68 ┆es, in the form of a search path┆ 0x07c0…07e0 2c 20 61 6e 64 20 74 68 65 20 6e 61 6d 69 6e 67 0a 20 20 20 20 20 63 6f 6e 76 65 6e 74 69 6f 6e ┆, and the naming convention┆ 0x07e0…0800 73 20 61 73 73 6f 63 69 61 74 65 64 20 77 69 74 68 20 6d 65 73 73 61 67 65 20 63 61 74 61 6c 6f ┆s associated with message catalo┆ 0x0800…0820 67 75 65 20 66 69 6c 65 73 2e 20 20 46 6f 72 0a 20 20 20 20 20 65 78 61 6d 70 6c 65 3a 0a 0a 20 ┆gue files. For example: ┆ 0x0820…0840 20 20 20 20 20 20 20 20 20 4e 4c 53 50 41 54 48 3d 2f 6e 6c 73 6c 69 62 2f 25 4c 2f 25 4e 2e 63 ┆ NLSPATH=/nlslib/%L/%N.c┆ 0x0840…0860 61 74 3a 2f 6e 6c 73 6c 69 62 2f 25 4e 2f 25 4c 0a 0a 20 20 20 20 20 54 68 65 20 6d 65 74 61 63 ┆at:/nlslib/%N/%L The metac┆ 0x0860…0880 68 61 72 61 63 74 65 72 20 25 08 25 08 25 08 25 20 69 6e 74 72 6f 64 75 63 65 73 20 61 20 73 75 ┆haracter % % % % introduces a su┆ 0x0880…08a0 62 73 74 69 74 75 74 69 6f 6e 20 66 69 65 6c 64 2c 20 77 68 65 72 65 0a 20 20 20 20 20 25 08 25 ┆bstitution field, where % %┆ 0x08a0…08c0 08 25 08 25 4c 08 4c 08 4c 08 4c 20 73 75 62 73 74 69 74 75 74 65 73 20 74 68 65 20 63 75 72 72 ┆ % %L L L L substitutes the curr┆ 0x08c0…08e0 65 6e 74 20 73 65 74 74 69 6e 67 20 6f 66 20 74 68 65 20 4c 41 4e 47 20 65 6e 76 69 72 6f 6e 6d ┆ent setting of the LANG environm┆ 0x08e0…0900 65 6e 74 0a 20 20 20 20 20 76 61 72 69 61 62 6c 65 20 28 73 65 65 20 66 6f 6c 6c 6f 77 69 6e 67 ┆ent variable (see following┆ 0x0900…0920 20 73 65 63 74 69 6f 6e 29 2c 20 61 6e 64 20 25 08 25 08 25 08 25 4e 08 4e 08 4e 08 4e 20 73 75 ┆ section), and % % % %N N N N su┆ 0x0920…0940 62 73 74 69 74 75 74 65 73 20 74 68 65 0a 20 20 20 20 20 76 61 6c 75 65 20 6f 66 20 74 68 65 20 ┆bstitutes the value of the ┆ 0x0940…0960 5f 08 6e 5f 08 61 5f 08 6d 5f 08 65 20 70 61 72 61 6d 65 74 65 72 20 70 61 73 73 65 64 20 74 6f ┆_ n_ a_ m_ e parameter passed to┆ 0x0960…0980 20 5f 08 63 5f 08 61 5f 08 74 5f 08 6f 5f 08 70 5f 08 65 5f 08 6e 2e 20 20 54 68 75 73 2c 20 69 ┆ _ c_ a_ t_ o_ p_ e_ n. Thus, i┆ 0x0980…09a0 6e 20 74 68 65 0a 20 20 20 20 20 61 62 6f 76 65 20 65 78 61 6d 70 6c 65 2c 20 5f 08 63 5f 08 61 ┆n the above example, _ c_ a┆ 0x09a0…09c0 5f 08 74 5f 08 6f 5f 08 70 5f 08 65 5f 08 6e 20 77 69 6c 6c 20 73 65 61 72 63 68 20 69 6e 0a 20 ┆_ t_ o_ p_ e_ n will search in ┆ 0x09c0…09e0 20 20 20 20 2f 08 2f 08 2f 08 2f 6e 08 6e 08 6e 08 6e 6c 08 6c 08 6c 08 6c 73 08 73 08 73 08 73 ┆ / / / /n n n nl l l ls s s s┆ 0x09e0…0a00 6c 08 6c 08 6c 08 6c 69 08 69 08 69 08 69 62 08 62 08 62 08 62 2f 08 2f 08 2f 08 2f 24 5f 08 4c ┆l l l li i i ib b b b/ / / /$_ L┆ 0x0a00…0a20 5f 08 41 5f 08 4e 5f 08 47 2f 08 2f 08 2f 08 2f 5f 08 6e 5f 08 61 5f 08 6d 5f 08 65 2e 08 2e 08 ┆_ A_ N_ G/ / / /_ n_ a_ m_ e. . ┆ 0x0a20…0a40 2e 08 2e 63 08 63 08 63 08 63 61 08 61 08 61 08 61 74 08 74 08 74 08 74 2c 20 74 68 65 6e 20 69 ┆. .c c c ca a a at t t t, then i┆ 0x0a40…0a60 6e 20 2f 08 2f 08 2f 08 2f 6e 08 6e 08 6e 08 6e 6c 08 6c 08 6c 08 6c 73 08 73 08 73 08 73 6c 08 ┆n / / / /n n n nl l l ls s s sl ┆ 0x0a60…0a80 6c 08 6c 08 6c 69 08 69 08 69 08 69 62 08 62 08 62 08 62 2f 08 2f 08 2f 08 2f 5f 08 6e 5f 08 61 ┆l l li i i ib b b b/ / / /_ n_ a┆ 0x0a80…0aa0 5f 08 6d 5f 08 65 2f 24 5f 08 4c 5f 08 41 5f 08 4e 5f 08 47 2c 20 66 6f 72 20 74 68 65 0a 20 20 ┆_ m_ e/$_ L_ A_ N_ G, for the ┆ 0x0aa0…0ac0 20 20 20 72 65 71 75 69 72 65 64 20 6d 65 73 73 61 67 65 20 63 61 74 61 6c 6f 67 75 65 2e 0a 0a ┆ required message catalogue. ┆ 0x0ac0…0ae0 20 20 20 20 20 4e 4c 53 50 41 54 48 20 77 69 6c 6c 20 6e 6f 72 6d 61 6c 6c 79 20 62 65 20 73 65 ┆ NLSPATH will normally be se┆ 0x0ae0…0b00 74 20 75 70 20 6f 6e 20 61 20 73 79 73 74 65 6d 20 77 69 64 65 20 62 61 73 69 73 0a 20 20 20 20 ┆t up on a system wide basis ┆ 0x0b00…0b20 20 28 65 2e 67 2e 2c 20 69 6e 20 2f 08 2f 08 2f 08 2f 65 08 65 08 65 08 65 74 08 74 08 74 08 74 ┆ (e.g., in / / / /e e e et t t t┆ 0x0b20…0b40 63 08 63 08 63 08 63 2f 08 2f 08 2f 08 2f 70 08 70 08 70 08 70 72 08 72 08 72 08 72 6f 08 6f 08 ┆c c c c/ / / /p p p pr r r ro o ┆ 0x0b40…0b60 6f 08 6f 66 08 66 08 66 08 66 69 08 69 08 69 08 69 6c 08 6c 08 6c 08 6c 65 08 65 08 65 08 65 29 ┆o of f f fi i i il l l le e e e)┆ 0x0b60…0b80 20 61 6e 64 20 74 68 75 73 20 6d 61 6b 65 73 20 74 68 65 20 6c 6f 63 61 74 69 6f 6e 20 61 6e 64 ┆ and thus makes the location and┆ 0x0b80…0ba0 20 6e 61 6d 2d 0a 20 20 20 20 20 69 6e 67 20 63 6f 6e 76 65 6e 74 69 6f 6e 73 20 61 73 73 6f 63 ┆ nam- ing conventions assoc┆ 0x0ba0…0bc0 69 61 74 65 64 20 77 69 74 68 20 6d 65 73 73 61 67 65 20 63 61 74 61 6c 6f 67 75 65 73 20 74 72 ┆iated with message catalogues tr┆ 0x0bc0…0be0 61 6e 2d 0a 20 20 20 20 20 73 70 61 72 65 6e 74 20 74 6f 20 62 6f 74 68 20 70 72 6f 67 72 61 6d ┆an- sparent to both program┆ 0x0be0…0c00 73 20 61 6e 64 20 75 73 65 72 73 2e 0a 0a 20 20 20 20 20 54 68 65 20 66 75 6c 6c 20 73 65 74 20 ┆s and users. The full set ┆ 0x0c00…0c20 6f 66 20 6d 65 74 61 63 68 61 72 61 63 74 65 72 73 20 69 73 3a 0a 0a 20 20 20 20 20 20 20 20 20 ┆of metacharacters is: ┆ 0x0c20…0c40 20 25 08 25 08 25 08 25 4e 08 4e 08 4e 08 4e 20 20 20 54 68 65 20 76 61 6c 75 65 20 6f 66 20 74 ┆ % % % %N N N N The value of t┆ 0x0c40…0c60 68 65 20 6e 61 6d 65 20 70 61 72 61 6d 65 74 65 72 20 70 61 73 73 65 64 20 74 6f 20 5f 08 63 5f ┆he name parameter passed to _ c_┆ 0x0c60…0c80 08 61 5f 08 74 5f 08 6f 5f 08 70 5f 08 65 5f 08 6e 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 25 08 ┆ a_ t_ o_ p_ e_ n. % ┆ 0x0c80…0ca0 25 08 25 08 25 4c 08 4c 08 4c 08 4c 20 20 20 54 68 65 20 76 61 6c 75 65 20 6f 66 20 4c 41 4e 47 ┆% % %L L L L The value of LANG┆ 0x0ca0…0cc0 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 25 08 25 08 25 08 25 6c 08 6c 08 6c 08 6c 20 20 20 54 68 ┆. % % % %l l l l Th┆ 0x0cc0…0ce0 65 20 76 61 6c 75 65 20 6f 66 20 74 68 65 20 6c 61 6e 67 75 61 67 65 20 65 6c 65 6d 65 6e 74 20 ┆e value of the language element ┆ 0x0ce0…0d00 6f 66 20 4c 41 4e 47 2e 0a 0a 20 20 20 20 20 20 20 20 20 20 25 08 25 08 25 08 25 74 08 74 08 74 ┆of LANG. % % % %t t t┆ 0x0d00…0d20 08 74 20 20 20 54 68 65 20 76 61 6c 75 65 20 6f 66 20 74 68 65 20 74 65 72 72 69 74 6f 72 79 20 ┆ t The value of the territory ┆ 0x0d20…0d40 65 6c 65 6d 65 6e 74 20 6f 66 20 4c 41 4e 47 2e 0a 0a 0a 0a 0a 0a 0a 0a 20 20 20 20 20 20 20 20 ┆element of LANG. ┆ 0x0d40…0d60 20 20 25 08 25 08 25 08 25 63 08 63 08 63 08 63 20 20 20 54 68 65 20 76 61 6c 75 65 20 6f 66 20 ┆ % % % %c c c c The value of ┆ 0x0d60…0d80 74 68 65 20 63 6f 64 65 73 65 74 20 65 6c 65 6d 65 6e 74 20 6f 66 20 4c 41 4e 47 2e 0a 0a 20 20 ┆the codeset element of LANG. ┆ 0x0d80…0da0 20 20 20 20 20 20 20 20 25 08 25 08 25 08 25 25 08 25 08 25 08 25 20 20 20 41 20 73 69 6e 67 6c ┆ % % % %% % % % A singl┆ 0x0da0…0dc0 65 20 25 2e 0a 0a 20 20 20 20 20 54 68 65 20 4c 41 4e 47 20 65 6e 76 69 72 6f 6e 6d 65 6e 74 20 ┆e %. The LANG environment ┆ 0x0dc0…0de0 76 61 72 69 61 62 6c 65 20 70 72 6f 76 69 64 65 73 20 74 68 65 20 61 62 69 6c 69 74 79 20 74 6f ┆variable provides the ability to┆ 0x0de0…0e00 0a 20 20 20 20 20 73 70 65 63 69 66 79 20 74 68 65 20 75 73 65 72 27 73 20 72 65 71 75 69 72 65 ┆ specify the user's require┆ 0x0e00…0e20 6d 65 6e 74 73 20 66 6f 72 20 6e 61 74 69 76 65 20 6c 61 6e 67 75 61 67 65 73 2c 20 6c 6f 63 61 ┆ments for native languages, loca┆ 0x0e20…0e40 6c 0a 20 20 20 20 20 63 75 73 74 6f 6d 73 20 61 6e 64 20 63 68 61 72 61 63 74 65 72 20 73 65 74 ┆l customs and character set┆ 0x0e40…0e60 2c 20 61 73 20 61 6e 20 41 53 43 49 49 20 73 74 72 69 6e 67 20 69 6e 20 74 68 65 20 66 6f 72 6d ┆, as an ASCII string in the form┆ 0x0e60…0e80 0a 0a 20 20 20 20 20 20 20 20 20 20 4c 41 4e 47 3d 6c 61 6e 67 75 61 67 65 5b 5f 74 65 72 72 69 ┆ LANG=language[_terri┆ 0x0e80…0ea0 74 6f 72 79 5b 2e 63 6f 64 65 73 65 74 5d 5d 0a 0a 20 20 20 20 20 41 20 75 73 65 72 20 77 68 6f ┆tory[.codeset]] A user who┆ 0x0ea0…0ec0 20 73 70 65 61 6b 73 20 47 65 72 6d 61 6e 20 61 73 20 69 74 20 69 73 20 73 70 6f 6b 65 6e 20 69 ┆ speaks German as it is spoken i┆ 0x0ec0…0ee0 6e 20 41 75 73 74 72 69 61 20 61 6e 64 20 68 61 73 0a 20 20 20 20 20 61 20 74 65 72 6d 69 6e 61 ┆n Austria and has a termina┆ 0x0ee0…0f00 6c 20 77 68 69 63 68 20 6f 70 65 72 61 74 65 73 20 69 6e 20 49 53 4f 20 38 38 35 39 2f 31 20 63 ┆l which operates in ISO 8859/1 c┆ 0x0f00…0f20 6f 64 65 73 65 74 2c 20 77 6f 75 6c 64 20 77 61 6e 74 0a 20 20 20 20 20 74 68 65 20 73 65 74 74 ┆odeset, would want the sett┆ 0x0f20…0f40 69 6e 67 20 6f 66 20 74 68 65 20 4c 41 4e 47 20 76 61 72 69 61 62 6c 65 20 74 6f 20 62 65 0a 0a ┆ing of the LANG variable to be ┆ 0x0f40…0f60 20 20 20 20 20 20 20 20 20 20 4c 41 4e 47 3d 44 65 5f 41 2e 38 38 35 39 31 0a 0a 20 20 20 20 20 ┆ LANG=De_A.88591 ┆ 0x0f60…0f80 57 69 74 68 20 74 68 69 73 20 73 65 74 74 69 6e 67 20 69 74 20 73 68 6f 75 6c 64 20 62 65 20 70 ┆With this setting it should be p┆ 0x0f80…0fa0 6f 73 73 69 62 6c 65 20 66 6f 72 20 74 68 61 74 20 75 73 65 72 20 74 6f 0a 20 20 20 20 20 66 69 ┆ossible for that user to fi┆ 0x0fa0…0fc0 6e 64 20 61 6e 79 20 72 65 6c 65 76 61 6e 74 20 63 61 74 61 6c 6f 67 75 65 73 20 73 68 6f 75 6c ┆nd any relevant catalogues shoul┆ 0x0fc0…0fe0 64 20 74 68 65 79 20 65 78 69 73 74 2e 0a 0a 20 20 20 20 20 53 68 6f 75 6c 64 20 74 68 65 20 4c ┆d they exist. Should the L┆ 0x0fe0…1000 41 4e 47 20 76 61 72 69 61 62 6c 65 20 6e 6f 74 20 62 65 20 73 65 74 20 74 68 65 6e 20 74 68 65 ┆ANG variable not be set then the┆ 0x1000…1020 20 76 61 6c 75 65 20 6f 66 0a 20 20 20 20 20 4c 43 5f 4d 45 53 53 41 47 45 53 20 61 73 20 72 65 ┆ value of LC_MESSAGES as re┆ 0x1020…1040 74 75 72 6e 65 64 20 62 79 20 5f 08 73 5f 08 65 5f 08 74 5f 08 6c 5f 08 6f 5f 08 63 5f 08 61 5f ┆turned by _ s_ e_ t_ l_ o_ c_ a_┆ 0x1040…1060 08 6c 5f 08 65 20 69 73 20 75 73 65 64 2e 20 20 49 66 20 74 68 69 73 20 69 73 0a 20 20 20 20 20 ┆ l_ e is used. If this is ┆ 0x1060…1080 4e 55 4c 4c 20 74 68 65 6e 20 74 68 65 20 64 65 66 61 75 6c 74 20 70 61 74 68 20 61 73 20 64 65 ┆NULL then the default path as de┆ 0x1080…10a0 66 69 6e 65 64 20 69 6e 20 5f 08 6e 5f 08 6c 5f 5f 08 74 5f 08 79 5f 08 70 5f 08 65 5f 08 73 20 ┆fined in _ n_ l__ t_ y_ p_ e_ s ┆ 0x10a0…10c0 69 73 20 75 73 65 64 2e 0a 0a 20 20 20 20 20 5f 08 6f 5f 08 66 5f 08 6c 5f 08 61 5f 08 67 20 69 ┆is used. _ o_ f_ l_ a_ g i┆ 0x10c0…10e0 73 20 72 65 73 65 72 76 65 64 20 66 6f 72 20 66 75 74 75 72 65 20 75 73 65 20 61 6e 64 20 73 68 ┆s reserved for future use and sh┆ 0x10e0…1100 6f 75 6c 64 20 62 65 20 73 65 74 20 74 6f 20 30 2e 0a 20 20 20 20 20 54 68 65 20 72 65 73 75 6c ┆ould be set to 0. The resul┆ 0x1100…1120 74 73 20 6f 66 20 73 65 74 74 69 6e 67 20 74 68 69 73 20 66 69 65 6c 64 20 74 6f 20 61 6e 79 20 ┆ts of setting this field to any ┆ 0x1120…1140 6f 74 68 65 72 20 76 61 6c 75 65 20 61 72 65 0a 20 20 20 20 20 75 6e 64 65 66 69 6e 65 64 2e 0a ┆other value are undefined. ┆ 0x1140…1160 0a 20 20 20 20 20 5f 08 63 5f 08 61 5f 08 74 5f 08 63 5f 08 6c 5f 08 6f 5f 08 73 5f 08 65 20 63 ┆ _ c_ a_ t_ c_ l_ o_ s_ e c┆ 0x1160…1180 6c 6f 73 65 73 20 74 68 65 20 6d 65 73 73 61 67 65 20 63 61 74 61 6c 6f 67 75 65 20 69 64 65 6e ┆loses the message catalogue iden┆ 0x1180…11a0 74 69 66 69 65 64 20 62 79 20 5f 08 63 5f 08 61 5f 08 74 5f 08 64 2e 0a 0a 53 08 53 08 53 08 53 ┆tified by _ c_ a_ t_ d. S S S S┆ 0x11a0…11c0 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 4c 53 08 53 ┆E E E EE E E E A A A AL L L LS S┆ 0x11c0…11e0 08 53 08 53 4f 08 4f 08 4f 08 4f 0a 20 20 20 20 20 4c 69 62 72 61 72 79 20 46 75 6e 63 74 69 6f ┆ S SO O O O Library Functio┆ 0x11e0…1200 6e 73 20 28 33 29 3a 20 63 61 74 67 65 74 73 2c 20 73 65 74 6c 6f 63 61 6c 65 0a 20 20 20 20 20 ┆ns (3): catgets, setlocale ┆ 0x1200…1220 53 79 73 74 65 6d 20 46 61 63 69 6c 69 74 69 65 73 20 28 34 29 3a 20 6e 6c 5f 74 79 70 65 73 0a ┆System Facilities (4): nl_types ┆ 0x1220…1240 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 08 47 08 47 4e 08 4e ┆ D D D DI I I IA A A AG G G GN N┆ 0x1240…1260 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 49 08 49 08 49 08 49 ┆ N NO O O OS S S ST T T TI I I I┆ 0x1260…1280 43 08 43 08 43 08 43 53 08 53 08 53 08 53 0a 20 20 20 20 20 49 66 20 73 75 63 63 65 73 73 66 75 ┆C C C CS S S S If successfu┆ 0x1280…12a0 6c 2c 20 5f 08 63 5f 08 61 5f 08 74 5f 08 6f 5f 08 70 5f 08 65 5f 08 6e 20 72 65 74 75 72 6e 73 ┆l, _ c_ a_ t_ o_ p_ e_ n returns┆ 0x12a0…12c0 20 61 20 6d 65 73 73 61 67 65 20 63 61 74 61 6c 6f 67 75 65 20 64 65 73 63 72 69 70 2d 0a 20 20 ┆ a message catalogue descrip- ┆ 0x12c0…12e0 20 20 20 74 6f 72 20 66 6f 72 20 75 73 65 20 6f 6e 20 73 75 62 73 65 71 75 65 6e 74 20 63 61 6c ┆ tor for use on subsequent cal┆ 0x12e0…1300 6c 73 20 74 6f 20 5f 08 63 5f 08 61 5f 08 74 5f 08 67 5f 08 65 5f 08 74 5f 08 73 20 61 6e 64 20 ┆ls to _ c_ a_ t_ g_ e_ t_ s and ┆ 0x1300…1320 5f 08 63 5f 08 61 5f 08 74 5f 08 63 5f 08 6c 5f 08 6f 5f 08 73 5f 08 65 2e 0a 20 20 20 20 20 4f ┆_ c_ a_ t_ c_ l_ o_ s_ e. O┆ 0x1320…1340 74 68 65 72 77 69 73 65 20 5f 08 63 5f 08 61 5f 08 74 5f 08 6f 5f 08 70 5f 08 65 5f 08 6e 20 72 ┆therwise _ c_ a_ t_ o_ p_ e_ n r┆ 0x1340…1360 65 74 75 72 6e 73 20 28 08 28 08 28 08 28 6e 08 6e 08 6e 08 6e 6c 08 6c 08 6c 08 6c 5f 08 5f 08 ┆eturns ( ( ( (n n n nl l l l_ _ ┆ 0x1360…1380 5f 08 5f 63 08 63 08 63 08 63 61 08 61 08 61 08 61 74 08 74 08 74 08 74 64 08 64 08 64 08 64 29 ┆_ _c c c ca a a at t t td d d d)┆ 0x1380…13a0 08 29 08 29 08 29 20 2d 31 2e 0a 0a 20 20 20 20 20 5f 08 63 5f 08 61 5f 08 74 5f 08 63 5f 08 6c ┆ ) ) ) -1. _ c_ a_ t_ c_ l┆ 0x13a0…13c0 5f 08 6f 5f 08 73 5f 08 65 20 72 65 74 75 72 6e 73 20 30 20 69 66 20 73 75 63 63 65 73 73 66 75 ┆_ o_ s_ e returns 0 if successfu┆ 0x13c0…13e0 6c 2c 20 6f 74 68 65 72 77 69 73 65 20 2d 31 2e 0a 0a 44 65 63 65 6d 62 65 72 20 31 39 39 30 20 ┆l, otherwise -1. December 1990 ┆ 0x13e0…1400 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 58 20 50 72 6f ┆ TX Pro┆ 0x1400…1420 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 0a 0a 0a 0a 0a ┆grammer's Reference ┆ 0x1420…1427 0a 0a 0a 0a 0a 0a 0a ┆ ┆