c
chatr(1) | chatr(1) |
Invalid ®les
For both PA32 and PA64 chatr, if the command cannot act on any of the ®les given, it returns the total number of ®les speci®ed (if some option is speci®ed). Otherwise it returns the number of ®les upon which it could not act.
chatr +b enable a1 a2 a3 a4 (where a2 does not have read/write permission) returns 4.
chatr a1 a2 a3 a4 returns 1.
EXTERNAL INFLUENCES
Environment Variables
The following internationalization variables affect the execution of chatr:
LANG | Determines the locale category for native language, local customs and coded character |
| set in the absence of LC_ALL and other LC_* environment variables. If LANG is not |
| speci®ed or is set to the empty string, a default of C (see lang(5)) is used instead of |
| LANG. |
LC_ALL | Determines the values for all locale categories and has precedence over LANG and other |
| LC_* environment variables. |
LC_CTYPE | Determines the locale category for character handling functions. |
LC_MESSAGES | Determines the locale that should be used to affect the format and contents of diagnostic |
| messages written to standard error. |
LC_NUMERIC | Determines the locale category for numeric formatting. |
NLSPATH | Determines the location of message catalogues for the processing of LC_MESSAGES . |
If any internationalization variable contains an invalid setting, chatr behaves as if all internationalization variables are set to C. See environ(5).
In addition, the following environment variable affects chatr:
TMPDIR | Speci®es a directory for temporary ®les (see tmpnam(3S)). |
EXAMPLES
Change a.out to
chatr
Change binding mode of program ®le that uses shared libraries to immediate and nonfatal. Also enable usage of SHLIB_PATH environment variable:
chatr
Disallow
chatr +l /usr/lib/libc.sl libfoo.sl
Given segment index number 5 from a previous run of chatr, change the page size to 4 kilobytes:
chatr +si 5 +p 4K average64
AUTHOR
chatr was developed by HP.
SEE ALSO |
|
System Tools: |
|
ld(1) | invoke the link editor |
Miscellaneous: |
|
a.out(4) | assembler, compiler, and linker output |
magic(4) | magic number for |
sam(1M) | system administration manager |
Section 1−78 | − 6 − |