#ifndef _MSG_DOT_H #define _MSG_DOT_H #include /* Msg typedef */ #ifndef __lint #define MSG_SGS_LOCAL_ARRAY __ar_msg extern const char __ar_msg[]; #define MSG_ORIG_STRTAB(_x, _s) &_s[_x] #define MSG_ORIG(x) MSG_ORIG_STRTAB(x, __ar_msg) extern const char * _ar_msg(Msg); #define MSG_INTL(x) _ar_msg(x) #define MSG_USAGE 1 #define MSG_USAGE_SIZE 311 #define MSG_MALLOC 313 #define MSG_MALLOC_SIZE 34 #define MSG_TOOBIG4G 348 #define MSG_TOOBIG4G_SIZE 56 #define MSG_USAGE_01 405 #define MSG_USAGE_01_SIZE 39 #define MSG_USAGE_02 445 #define MSG_USAGE_02_SIZE 28 #define MSG_USAGE_03 474 #define MSG_USAGE_03_SIZE 20 #define MSG_USAGE_04 495 #define MSG_USAGE_04_SIZE 34 #define MSG_USAGE_05 530 #define MSG_USAGE_05_SIZE 27 #define MSG_USAGE_06 558 #define MSG_USAGE_06_SIZE 52 #define MSG_INTERNAL_01 611 #define MSG_INTERNAL_01_SIZE 75 #define MSG_INTERNAL_02 687 #define MSG_INTERNAL_02_SIZE 37 #define MSG_SYS_OPEN 725 #define MSG_SYS_OPEN_SIZE 23 #define MSG_SYS_CLOSE 749 #define MSG_SYS_CLOSE_SIZE 24 #define MSG_SYS_WRITE 774 #define MSG_SYS_WRITE_SIZE 25 #define MSG_SYS_STAT 800 #define MSG_SYS_STAT_SIZE 23 #define MSG_SYS_RENAME 824 #define MSG_SYS_RENAME_SIZE 31 #define MSG_NOT_FOUND_AR 856 #define MSG_NOT_FOUND_AR_SIZE 25 #define MSG_NOT_FOUND_POSNAM 882 #define MSG_NOT_FOUND_POSNAM_SIZE 26 #define MSG_NOT_FOUND_FILE 909 #define MSG_NOT_FOUND_FILE_SIZE 17 #define MSG_ELF_LIB_FILE 927 #define MSG_ELF_LIB_FILE_SIZE 31 #define MSG_ELF_LIB_AR 959 #define MSG_ELF_LIB_AR_SIZE 28 #define MSG_ELF_BEGIN_FILE 988 #define MSG_ELF_BEGIN_FILE_SIZE 30 #define MSG_ELF_GETDATA_FILE 1019 #define MSG_ELF_GETDATA_FILE_SIZE 30 #define MSG_ELF_GETDATA_AR 1050 #define MSG_ELF_GETDATA_AR_SIZE 34 #define MSG_ELF_GETSCN_FILE 1085 #define MSG_ELF_GETSCN_FILE_SIZE 51 #define MSG_ELF_GETSCN_AR 1137 #define MSG_ELF_GETSCN_AR_SIZE 55 #define MSG_ELF_GETSHSTRNDX_FILE 1193 #define MSG_ELF_GETSHSTRNDX_FILE_SIZE 37 #define MSG_ELF_GETSHSTRNDX_AR 1231 #define MSG_ELF_GETSHSTRNDX_AR_SIZE 41 #define MSG_ELF_MALARCHIVE 1273 #define MSG_ELF_MALARCHIVE_SIZE 43 #define MSG_ELF_RAWFILE 1317 #define MSG_ELF_RAWFILE_SIZE 29 #define MSG_ELF_VERSION 1347 #define MSG_ELF_VERSION_SIZE 29 #define MSG_W_ELF_NODATA_FILE 1377 #define MSG_W_ELF_NODATA_FILE_SIZE 43 #define MSG_W_ELF_NODATA_AR 1421 #define MSG_W_ELF_NODATA_AR_SIZE 47 #define MSG_BER_MES_CREATE 1469 #define MSG_BER_MES_CREATE_SIZE 16 #define MSG_BER_MES_WRITE 1486 #define MSG_BER_MES_WRITE_SIZE 15 #define MSG_SYMTAB_01 1502 #define MSG_SYMTAB_01_SIZE 33 #define MSG_SYMTAB_NOSTR_FILE 1536 #define MSG_SYMTAB_NOSTR_FILE_SIZE 44 #define MSG_SYMTAB_NOSTR_AR 1581 #define MSG_SYMTAB_NOSTR_AR_SIZE 48 #define MSG_SYMTAB_NODAT_FILE 1630 #define MSG_SYMTAB_NODAT_FILE_SIZE 35 #define MSG_SYMTAB_NODAT_AR 1666 #define MSG_SYMTAB_NODAT_AR_SIZE 35 #define MSG_SYMTAB_ZDAT_FILE 1702 #define MSG_SYMTAB_ZDAT_FILE_SIZE 46 #define MSG_SYMTAB_ZDAT_AR 1749 #define MSG_SYMTAB_ZDAT_AR_SIZE 46 #define MSG_PATHCONF 1796 #define MSG_PATHCONF_SIZE 48 #define MSG_LOCALTIME 1845 #define MSG_LOCALTIME_SIZE 46 #define MSG_NOT_ARCHIVE 1892 #define MSG_NOT_ARCHIVE_SIZE 29 #define MSG_OVERRIDE_WARN 1922 #define MSG_OVERRIDE_WARN_SIZE 45 #define MSG_ERR_LONGSTRTBLSZ 1968 #define MSG_ERR_LONGSTRTBLSZ_SIZE 66 #define MSG_ERR_MEMBER4G 2035 #define MSG_ERR_MEMBER4G_SIZE 76 #define MSG_STR_OPTIONS 2112 #define MSG_STR_OPTIONS_SIZE 25 #define MSG_SUNW_OST_SGS 2138 #define MSG_SUNW_OST_SGS_SIZE 12 #define MSG_STR_EMPTY 0 #define MSG_STR_EMPTY_SIZE 0 #define MSG_STR_HYPHEN 2151 #define MSG_STR_HYPHEN_SIZE 1 #define MSG_STR_PERIOD 2153 #define MSG_STR_PERIOD_SIZE 1 #define MSG_STR_LCR 2155 #define MSG_STR_LCR_SIZE 1 #define MSG_STR_SLASH 2158 #define MSG_STR_SLASH_SIZE 1 #define MSG_STR_DSLASH 2157 #define MSG_STR_DSLASH_SIZE 2 #define MSG_STR_SYM64 2160 #define MSG_STR_SYM64_SIZE 7 #define MSG_MH_FORMAT 2168 #define MSG_MH_FORMAT_SIZE 33 #define MSG_FMT_VERSION 2202 #define MSG_FMT_VERSION_SIZE 10 #define MSG_FMT_P_TITLE 2213 #define MSG_FMT_P_TITLE_SIZE 7 #define MSG_FMT_T_IDSZ 2221 #define MSG_FMT_T_IDSZ_SIZE 12 #define MSG_FMT_T_DATE 2234 #define MSG_FMT_T_DATE_SIZE 14 #define MSG_FMT_SPSTRSP 2249 #define MSG_FMT_SPSTRSP_SIZE 4 #define MSG_FMT_STRNL 2259 #define MSG_FMT_STRNL_SIZE 3 #define MSG_FMT_FILE 2254 #define MSG_FMT_FILE_SIZE 8 #define MSG_FMT_LLINT 2263 #define MSG_FMT_LLINT_SIZE 5 #define MSG_CMD_SWAP 2269 #define MSG_CMD_SWAP_SIZE 17 #define MSG_STR_MKTEMP 2287 #define MSG_STR_MKTEMP_SIZE 8 #else /* __lint */ extern const char * _ar_msg(Msg); #ifndef MSG_SGS_LOCAL_ARRAY #define MSG_SGS_LOCAL_ARRAY "" #endif extern const char __ar_msg[]; #define MSG_ORIG_STRTAB(_x, _s) _x #define MSG_ORIG(x) x #define MSG_INTL(x) x #ifndef LINTSUP_SUPPRESS_STRINGS #define MSG_USAGE "usage: ar -d[-SvV] archive file ...\n ar -m[-abiSvV] [posname] archive file ...\n ar -p[-vV][-sS] archive [file ...]\n ar -q[-cuvSV] [-abi] [posname] [file ...]\n ar -r[-cuvSV] [-abi] [posname] [file ...]\n ar -t[-vV][-sS] archive [file ...]\n ar -x[-vV][-sSCT] archive [file ...]\n" #define MSG_USAGE_SIZE 311 #define MSG_MALLOC "ar: could not allocate memory: %s\n" #define MSG_MALLOC_SIZE 34 #define MSG_TOOBIG4G "ar: archive size exceeds capabilities of 32-bit process\n" #define MSG_TOOBIG4G_SIZE 56 #define MSG_USAGE_01 "ar: one of [drqtpmx] must be specified\n" #define MSG_USAGE_01_SIZE 39 #define MSG_USAGE_02 "ar: -%c requires an operand\n" #define MSG_USAGE_02_SIZE 28 #define MSG_USAGE_03 "ar: bad option: -%c\n" #define MSG_USAGE_03_SIZE 20 #define MSG_USAGE_04 "ar: only one of [drqtpmx] allowed\n" #define MSG_USAGE_04_SIZE 34 #define MSG_USAGE_05 "ar: abi not allowed with q\n" #define MSG_USAGE_05_SIZE 27 #define MSG_USAGE_06 "ar: %s taken as mandatory 'posname' with keys 'abi'\n" #define MSG_USAGE_06_SIZE 52 #define MSG_INTERNAL_01 "ar: internal error: cannot tell whether file is included in archive or not\n" #define MSG_INTERNAL_01_SIZE 75 #define MSG_INTERNAL_02 "ar: internal header generation error\n" #define MSG_INTERNAL_02_SIZE 37 #define MSG_SYS_OPEN "ar: cannot open %s: %s\n" #define MSG_SYS_OPEN_SIZE 23 #define MSG_SYS_CLOSE "ar: cannot close %s: %s\n" #define MSG_SYS_CLOSE_SIZE 24 #define MSG_SYS_WRITE "ar: %s: cannot write: %s\n" #define MSG_SYS_WRITE_SIZE 25 #define MSG_SYS_STAT "ar: cannot stat %s: %s\n" #define MSG_SYS_STAT_SIZE 23 #define MSG_SYS_RENAME "ar: cannot rename %s to %s: %s\n" #define MSG_SYS_RENAME_SIZE 31 #define MSG_NOT_FOUND_AR "ar: archive %s not found\n" #define MSG_NOT_FOUND_AR_SIZE 25 #define MSG_NOT_FOUND_POSNAM "ar: posname %s: not found\n" #define MSG_NOT_FOUND_POSNAM_SIZE 26 #define MSG_NOT_FOUND_FILE "ar: %s not found\n" #define MSG_NOT_FOUND_FILE_SIZE 17 #define MSG_ELF_LIB_FILE "ar: %s caused libelf error: %s\n" #define MSG_ELF_LIB_FILE_SIZE 31 #define MSG_ELF_LIB_AR "ar: %s(%s) libelf error: %s\n" #define MSG_ELF_LIB_AR_SIZE 28 #define MSG_ELF_BEGIN_FILE "ar: cannot elf_begin() %s: %s\n" #define MSG_ELF_BEGIN_FILE_SIZE 30 #define MSG_ELF_GETDATA_FILE "ar: %s has bad elf format: %s\n" #define MSG_ELF_GETDATA_FILE_SIZE 30 #define MSG_ELF_GETDATA_AR "ar: %s(%s) has bad elf format: %s\n" #define MSG_ELF_GETDATA_AR_SIZE 34 #define MSG_ELF_GETSCN_FILE "ar: %s has no section header or bad elf format: %s\n" #define MSG_ELF_GETSCN_FILE_SIZE 51 #define MSG_ELF_GETSCN_AR "ar: %s(%s) has no section header or bad elf format: %s\n" #define MSG_ELF_GETSCN_AR_SIZE 55 #define MSG_ELF_GETSHSTRNDX_FILE "ar: %s has no string table index: %s\n" #define MSG_ELF_GETSHSTRNDX_FILE_SIZE 37 #define MSG_ELF_GETSHSTRNDX_AR "ar: %s(%s) has no string table index: %s\n" #define MSG_ELF_GETSHSTRNDX_AR_SIZE 41 #define MSG_ELF_MALARCHIVE "ar: %s: offset %lld: malformed archive: %s\n" #define MSG_ELF_MALARCHIVE_SIZE 43 #define MSG_ELF_RAWFILE "ar: elf_rawfile() failed: %s\n" #define MSG_ELF_RAWFILE_SIZE 29 #define MSG_ELF_VERSION "ar: libelf.a out of date: %s\n" #define MSG_ELF_VERSION_SIZE 29 #define MSG_W_ELF_NODATA_FILE "ar: %s has no data in section header table\n" #define MSG_W_ELF_NODATA_FILE_SIZE 43 #define MSG_W_ELF_NODATA_AR "ar: %s(%s) has no data in section header table\n" #define MSG_W_ELF_NODATA_AR_SIZE 47 #define MSG_BER_MES_CREATE "ar: creating %s\n" #define MSG_BER_MES_CREATE_SIZE 16 #define MSG_BER_MES_WRITE "ar: writing %s\n" #define MSG_BER_MES_WRITE_SIZE 15 #define MSG_SYMTAB_01 "ar: symbol table entry size is 0\n" #define MSG_SYMTAB_01_SIZE 33 #define MSG_SYMTAB_NOSTR_FILE "ar: %s has no string table for symbol names\n" #define MSG_SYMTAB_NOSTR_FILE_SIZE 44 #define MSG_SYMTAB_NOSTR_AR "ar: %s(%s) has no string table for symbol names\n" #define MSG_SYMTAB_NOSTR_AR_SIZE 48 #define MSG_SYMTAB_NODAT_FILE "ar: %s has no data in string table\n" #define MSG_SYMTAB_NODAT_FILE_SIZE 35 #define MSG_SYMTAB_NODAT_AR "ar: %s(%s) no data in string table\n" #define MSG_SYMTAB_NODAT_AR_SIZE 35 #define MSG_SYMTAB_ZDAT_FILE "ar: %s has no data in string table: size is 0\n" #define MSG_SYMTAB_ZDAT_FILE_SIZE 46 #define MSG_SYMTAB_ZDAT_AR "ar: %s(%s) no data in string table: size is 0\n" #define MSG_SYMTAB_ZDAT_AR_SIZE 46 #define MSG_PATHCONF "ar: -T failed to calculate file name length: %s\n" #define MSG_PATHCONF_SIZE 48 #define MSG_LOCALTIME "ar: don't have enough space to store the date\n" #define MSG_LOCALTIME_SIZE 46 #define MSG_NOT_ARCHIVE "ar: %s not in archive format\n" #define MSG_NOT_ARCHIVE_SIZE 29 #define MSG_OVERRIDE_WARN "ar: %s already exists. Will not be extracted\n" #define MSG_OVERRIDE_WARN_SIZE 45 #define MSG_ERR_LONGSTRTBLSZ "ar: archive format limit: long name string table would exceed 4GB\n" #define MSG_ERR_LONGSTRTBLSZ_SIZE 66 #define MSG_ERR_MEMBER4G "ar: archive format limit: individual archive members are limited to 4GB: %s\n" #define MSG_ERR_MEMBER4G_SIZE 76 #define MSG_STR_OPTIONS ":a:b:i:vucsrdxtplmqVCTzMS" #define MSG_STR_OPTIONS_SIZE 25 #define MSG_SUNW_OST_SGS "SUNW_OST_SGS" #define MSG_SUNW_OST_SGS_SIZE 12 #define MSG_STR_EMPTY "" #define MSG_STR_EMPTY_SIZE 0 #define MSG_STR_HYPHEN "-" #define MSG_STR_HYPHEN_SIZE 1 #define MSG_STR_PERIOD "." #define MSG_STR_PERIOD_SIZE 1 #define MSG_STR_LCR "r" #define MSG_STR_LCR_SIZE 1 #define MSG_STR_SLASH "/" #define MSG_STR_SLASH_SIZE 1 #define MSG_STR_DSLASH "//" #define MSG_STR_DSLASH_SIZE 2 #define MSG_STR_SYM64 "/SYM64/" #define MSG_STR_SYM64_SIZE 7 #define MSG_MH_FORMAT "%-16s%-12d%-6u%-6u%-8o%-10lld%-2s" #define MSG_MH_FORMAT_SIZE 33 #define MSG_FMT_VERSION "ar: %s %s\n" #define MSG_FMT_VERSION_SIZE 10 #define MSG_FMT_P_TITLE "\n<%s>\n\n" #define MSG_FMT_P_TITLE_SIZE 7 #define MSG_FMT_T_IDSZ "%6d/%6d%7lld" #define MSG_FMT_T_IDSZ_SIZE 12 #define MSG_FMT_T_DATE "%b %e %H:%M %Y" #define MSG_FMT_T_DATE_SIZE 14 #define MSG_FMT_SPSTRSP " %s " #define MSG_FMT_SPSTRSP_SIZE 4 #define MSG_FMT_STRNL "%s\n" #define MSG_FMT_STRNL_SIZE 3 #define MSG_FMT_FILE "%c - %s\n" #define MSG_FMT_FILE_SIZE 8 #define MSG_FMT_LLINT "/%lld" #define MSG_FMT_LLINT_SIZE 5 #define MSG_CMD_SWAP "/usr/sbin/swap -s" #define MSG_CMD_SWAP_SIZE 17 #define MSG_STR_MKTEMP "arXXXXXX" #define MSG_STR_MKTEMP_SIZE 8 #endif /* LINTSUP_SUPPRESS_STRINGS */ #endif /* __lint */ #endif