Lines Matching defs:n
155 case L'\n':
156 return ('n');
246 * Print "interpreted version" (\n, \a, etc).
284 (void) fprintf(stderr, "%s: wcstombs failed unexpectedly: %s\n",
456 (void) fprintf(stderr, "%s: wcstombs failed unexpectedly: %s\n",
694 at_null(long val, char *instr, size_t n, char *str)
701 at_str(long val, char *instr, size_t n, char *str)
705 (void) strlcpy(str, instr, n);
713 #define FMT_AV(s, n, hwcap, mask, name) \
715 (void) snprintf(s, n, "%s" name " | ", s)
719 at_hwcap(long val, char *instr, size_t n, char *str)
722 (void) elfcap_hw1_to_str(ELFCAP_STYLE_UC, val, str, n,
726 (void) elfcap_hw1_to_str(ELFCAP_STYLE_UC, val, str, n,
735 at_hwcap2(long val, char *instr, size_t n, char *str)
738 (void) elfcap_hw2_to_str(ELFCAP_STYLE_UC, val, str, n,
742 (void) elfcap_hw2_to_str(ELFCAP_STYLE_UC, val, str, n,
752 at_uid(long val, char *instr, size_t n, char *str)
759 (void) snprintf(str, n, "%lu(%s)", val, pw->pw_name);
765 at_gid(long val, char *instr, size_t n, char *str)
772 (void) snprintf(str, n, "%lu(%s)", val, gr->gr_name);
784 at_flags(long val, char *instr, size_t n, char *str)
793 (void) strlcat(str, ",", n);
794 (void) strlcat(str, auxfl[i].af_name, n);
928 "%s: Couldn't determine locale of target process.\n",
931 "%s: Some strings may not be displayed properly.\n",
971 "%s: failed to initialize iconv: %s\n",
1035 "%s: iconv(3C) failed unexpectedly: %s\n",
1165 (void) fprintf(stderr, "%s: failed to read argv[]\n", command);
1172 (void) printf("<NULL>\n");
1174 (void) printf("<0x%0*lx>\n",
1178 (void) printf("%s\n", datap->pd_argv_strs[i]);
1189 (void) fprintf(stderr, "%s: failed to read envp[]\n", command);
1198 (void) printf("<0x%0*lx>\n",
1202 (void) printf("%s\n", datap->pd_envp_strs[i]);
1220 "argument list\n", command);
1230 "executable\n", command);
1239 (void) printf("\n");
1276 (void) printf("%-*s 0x%0*lx %s\n", MAX_AT_NAME_LEN, type,
1338 (void) fprintf(stderr, "-l is incompatible with -x and -e\n");
1347 "usage: %s [-aceFlx] { pid | core } ...\n"
1348 " (show process arguments and environment)\n"
1349 " -a: show process arguments (default)\n"
1351 "locale\n"
1352 " -e: show environment variables\n"
1353 " -F: force grabbing of the target process\n"
1354 " -l: display arguments as command line\n"
1355 " -x: show aux vector entries\n", command);
1381 (void) printf("\n");
1392 (void) fprintf(stderr, "%s: cannot examine %s: %s\n",
1400 (void) printf("%d: <defunct>\n", (int)psinfo.pr_pid);
1412 (void) printf("%s\n", psinfo.pr_psargs);
1422 (void) fprintf(stderr, "%s: cannot examine %s: %s\n",
1434 "insufficient content\n", command, arg);
1447 (void) fprintf(stderr, "%s: out of memory: %s\n",
1492 (void) fprintf(stderr, "%s: out of memory: %s\n",
1521 "locale differs from current locale\n",
1525 "line contains unprintable characters\n",
1536 "core '%s' of %d:\t%s\n",
1539 (void) snprintf(info, info_sz, "%d:\t%s\n",
1551 (void) printf("\n");
1559 (void) printf("\n");