#ifndef _MSG_DOT_H #define _MSG_DOT_H #include /* Msg typedef */ #ifndef __lint #define MSG_SGS_LOCAL_ARRAY __ldd_msg extern const char __ldd_msg[]; #define MSG_ORIG_STRTAB(_x, _s) &_s[_x] #define MSG_ORIG(x) MSG_ORIG_STRTAB(x, __ldd_msg) extern const char * _ldd_msg(Msg); #define MSG_INTL(x) _ldd_msg(x) #define MSG_ARG_USAGE 1 #define MSG_ARG_USAGE_SIZE 99 #define MSG_ENV_FAILED 101 #define MSG_ENV_FAILED_SIZE 48 #define MSG_USP_NODYNORSO 150 #define MSG_USP_NODYNORSO_SIZE 58 #define MSG_USP_NOHDR 209 #define MSG_USP_NOHDR_SIZE 50 #define MSG_USP_UNKNOWN 260 #define MSG_USP_UNKNOWN_SIZE 41 #define MSG_USP_ELFINS 302 #define MSG_USP_ELFINS_SIZE 41 #define MSG_USP_AOUTINS 344 #define MSG_USP_AOUTINS_SIZE 28 #define MSG_USP_NOTEXEC_1 382 #define MSG_USP_NOTEXEC_1_SIZE 26 #define MSG_USP_NOTEXEC_2 373 #define MSG_USP_NOTEXEC_2_SIZE 35 #define MSG_ELF_LIBELF 409 #define MSG_ELF_LIBELF_SIZE 37 #define MSG_ELF_BADMAGIC 447 #define MSG_ELF_BADMAGIC_SIZE 25 #define MSG_ELF_CLASS 473 #define MSG_ELF_CLASS_SIZE 36 #define MSG_ELF_KCLASS32 510 #define MSG_ELF_KCLASS32_SIZE 58 #define MSG_ELF_MACHTYPE 569 #define MSG_ELF_MACHTYPE_SIZE 58 #define MSG_ELF_DATA 628 #define MSG_ELF_DATA_SIZE 56 #define MSG_ELF_MACHFLAGS 685 #define MSG_ELF_MACHFLAGS_SIZE 28 #define MSG_ELF_GETEHDR 714 #define MSG_ELF_GETEHDR_SIZE 24 #define MSG_ELF_GETPHDR 739 #define MSG_ELF_GETPHDR_SIZE 24 #define MSG_SYS_LSEEK 764 #define MSG_SYS_LSEEK_SIZE 30 #define MSG_SYS_READ 795 #define MSG_SYS_READ_SIZE 29 #define MSG_SYS_FORK 825 #define MSG_SYS_FORK_SIZE 20 #define MSG_SYS_OPEN 846 #define MSG_SYS_OPEN_SIZE 29 #define MSG_SYS_MALLOC 876 #define MSG_SYS_MALLOC_SIZE 18 #define MSG_SYS_EXEC 895 #define MSG_SYS_EXEC_SIZE 25 #define MSG_SYS_EXEC_SIG 921 #define MSG_SYS_EXEC_SIG_SIZE 20 #define MSG_SYS_EXEC_CORE 942 #define MSG_SYS_EXEC_CORE_SIZE 13 #define MSG_SYS_EXEC_STAT 956 #define MSG_SYS_EXEC_STAT_SIZE 20 #define MSG_STR_EMPTY 0 #define MSG_STR_EMPTY_SIZE 0 #define MSG_PTH_LIB 981 #define MSG_PTH_LIB_SIZE 4 #define MSG_PTH_USRLIB 986 #define MSG_PTH_USRLIB_SIZE 8 #define MSG_PTH_ETCLIB 977 #define MSG_PTH_ETCLIB_SIZE 8 #define MSG_LD_PRELOAD_32 995 #define MSG_LD_PRELOAD_32_SIZE 13 #define MSG_LD_PRELOAD_64 1009 #define MSG_LD_PRELOAD_64_SIZE 13 #define MSG_LD_PRELOAD 1023 #define MSG_LD_PRELOAD_SIZE 10 #define MSG_SUNW_OST_SGS 1034 #define MSG_SUNW_OST_SGS_SIZE 12 #define MSG_STR_GETOPT 1047 #define MSG_STR_GETOPT_SIZE 16 #define MSG_STR_FMT1 1064 #define MSG_STR_FMT1_SIZE 10 #define MSG_STR_FMT2 1075 #define MSG_STR_FMT2_SIZE 8 #define MSG_STR_FMT3 1084 #define MSG_STR_FMT3_SIZE 4 #else /* __lint */ extern const char * _ldd_msg(Msg); #ifndef MSG_SGS_LOCAL_ARRAY #define MSG_SGS_LOCAL_ARRAY "" #endif extern const char __ldd_msg[]; #define MSG_ORIG_STRTAB(_x, _s) _x #define MSG_ORIG(x) x #define MSG_INTL(x) x #ifndef LINTSUP_SUPPRESS_STRINGS #define MSG_ARG_USAGE "usage: %s [-d | -r] [-c] [-D] [-e envar] [-f] [-i] [-L] [-l] [-p] [-s] [-U | -u] [-v] [-w] file(s)\n" #define MSG_ARG_USAGE_SIZE 99 #define MSG_ENV_FAILED "%s: can't add to environment, putenv(3C) failed\n" #define MSG_ENV_FAILED_SIZE 48 #define MSG_USP_NODYNORSO "%s: %s: file is not a dynamic executable or shared object\n" #define MSG_USP_NODYNORSO_SIZE 58 #define MSG_USP_NOHDR "%s: %s: file built with ?N (NOHDR) mapfile option\n" #define MSG_USP_NOHDR_SIZE 50 #define MSG_USP_UNKNOWN "%s: %s: unsupported or unknown file type\n" #define MSG_USP_UNKNOWN_SIZE 41 #define MSG_USP_ELFINS "%s: %s: file has insecure interpreter %s\n" #define MSG_USP_ELFINS_SIZE 41 #define MSG_USP_AOUTINS "%s: %s: insecure a.out file\n" #define MSG_USP_AOUTINS_SIZE 28 #define MSG_USP_NOTEXEC_1 "%s: %s: is not executable\n" #define MSG_USP_NOTEXEC_1_SIZE 26 #define MSG_USP_NOTEXEC_2 "warning: %s: %s: is not executable\n" #define MSG_USP_NOTEXEC_2_SIZE 35 #define MSG_ELF_LIBELF "%s: libelf: version not supported: %d" #define MSG_ELF_LIBELF_SIZE 37 #define MSG_ELF_BADMAGIC "%s: %s: bad magic number\n" #define MSG_ELF_BADMAGIC_SIZE 25 #define MSG_ELF_CLASS "%s: %s: ELF class: %s: unrecognized\n" #define MSG_ELF_CLASS_SIZE 36 #define MSG_ELF_KCLASS32 "%s: %s: ELF class: %s: is incompatible with 32-bit system\n" #define MSG_ELF_KCLASS32_SIZE 58 #define MSG_ELF_MACHTYPE "%s: %s: ELF machine type: %s: is incompatible with system\n" #define MSG_ELF_MACHTYPE_SIZE 58 #define MSG_ELF_DATA "%s: %s: ELF byte order: %s: is incompatible with system\n" #define MSG_ELF_DATA_SIZE 56 #define MSG_ELF_MACHFLAGS "%s: %s: wrong machine flags\n" #define MSG_ELF_MACHFLAGS_SIZE 28 #define MSG_ELF_GETEHDR "%s: %s: elf_getehdr: %s\n" #define MSG_ELF_GETEHDR_SIZE 24 #define MSG_ELF_GETPHDR "%s: %s: elf_getphdr: %s\n" #define MSG_ELF_GETPHDR_SIZE 24 #define MSG_SYS_LSEEK "%s: %s: cannot lseek file: %s\n" #define MSG_SYS_LSEEK_SIZE 30 #define MSG_SYS_READ "%s: %s: cannot read file: %s\n" #define MSG_SYS_READ_SIZE 29 #define MSG_SYS_FORK "%s: cannot fork: %s\n" #define MSG_SYS_FORK_SIZE 20 #define MSG_SYS_OPEN "%s: %s: cannot open file: %s\n" #define MSG_SYS_OPEN_SIZE 29 #define MSG_SYS_MALLOC "%s: malloc failed\n" #define MSG_SYS_MALLOC_SIZE 18 #define MSG_SYS_EXEC "%s: %s: execution failed " #define MSG_SYS_EXEC_SIZE 25 #define MSG_SYS_EXEC_SIG "due to signal %d %s\n" #define MSG_SYS_EXEC_SIG_SIZE 20 #define MSG_SYS_EXEC_CORE "(core dumped)" #define MSG_SYS_EXEC_CORE_SIZE 13 #define MSG_SYS_EXEC_STAT "with exit status %d\n" #define MSG_SYS_EXEC_STAT_SIZE 20 #define MSG_STR_EMPTY "" #define MSG_STR_EMPTY_SIZE 0 #define MSG_PTH_LIB "/lib" #define MSG_PTH_LIB_SIZE 4 #define MSG_PTH_USRLIB "/usr/lib" #define MSG_PTH_USRLIB_SIZE 8 #define MSG_PTH_ETCLIB "/etc/lib" #define MSG_PTH_ETCLIB_SIZE 8 #define MSG_LD_PRELOAD_32 "LD_PRELOAD_32" #define MSG_LD_PRELOAD_32_SIZE 13 #define MSG_LD_PRELOAD_64 "LD_PRELOAD_64" #define MSG_LD_PRELOAD_64_SIZE 13 #define MSG_LD_PRELOAD "LD_PRELOAD" #define MSG_LD_PRELOAD_SIZE 10 #define MSG_SUNW_OST_SGS "SUNW_OST_SGS" #define MSG_SUNW_OST_SGS_SIZE 12 #define MSG_STR_GETOPT "cDde:fiLlprsUuvw" #define MSG_STR_GETOPT_SIZE 16 #define MSG_STR_FMT1 "%s=./%s %s" #define MSG_STR_FMT1_SIZE 10 #define MSG_STR_FMT2 "%s=%s %s" #define MSG_STR_FMT2_SIZE 8 #define MSG_STR_FMT3 "%s:\n" #define MSG_STR_FMT3_SIZE 4 #endif /* LINTSUP_SUPPRESS_STRINGS */ #endif /* __lint */ #endif