/illumos-gate/usr/src/cmd/ramdiskadm/ |
H A D | utils.c | 44 static char *pname = NULL; variable 53 if (pname != NULL) 54 (void) fprintf(stderr, gettext("%s: "), pname); 71 if (pname != NULL) 72 (void) fprintf(stderr, gettext("%s: "), pname); 87 if (pname == NULL) 88 pname = basename(arg0); 89 return (pname);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_udp.c | 55 char *pname; local 86 pname = "(Sun RPC)"; 88 pname = getportname(IPPROTO_UDP, ntohs(udp->uh_dport)); 89 if (pname == NULL) { 90 pname = ""; 92 (void) sprintf(buff, "(%s)", pname); 93 pname = buff; 98 ntohs(udp->uh_dport), pname);
|
H A D | snoop_apple.c | 112 char *pname; local 148 pname = apple_ddp_type(pt_ddp, ddp->ddp_src_sock); 149 if (pname == NULL) { 150 pname = ""; 152 (void) snprintf(buff, sizeof (buff), "(%s)", pname); 153 pname = buff; 158 src_name, ddp->ddp_src_sock, pname); local 159 pname = apple_ddp_type(pt_ddp, ddp->ddp_dest_sock); 160 if (pname == NULL) { 161 pname 168 dst_name, ddp->ddp_dest_sock, pname); local [all...] |
/illumos-gate/usr/src/cmd/ypcmd/shared/ |
H A D | utils.c | 186 * This performs an existence check on the dbm data base files <pname>.pag and 187 * <pname>.dir. 190 check_map_existence(pname) 191 char *pname; 197 if (!pname || ((len = strlen(pname)) == 0) || 203 (void) strcpy(dbfile, pname); 207 (void) strcpy(dbfile, pname); 263 * <name>.dir. pname is a ptr to the filename. This should be an absolute 277 ypcheck_map_existence(char *pname) argument [all...] |
/illumos-gate/usr/src/cmd/oawk/ |
H A D | makeprctab.c | 37 char *pname; member in struct:xx 119 names[p->token-FIRSTTOKEN] = p->pname;
|
/illumos-gate/usr/src/cmd/picl/plugins/common/frutree/ |
H A D | piclfrutree.c | 88 char pname[PATH_MAX]; local 91 (void) snprintf(pname, PATH_MAX, PICLD_PLAT_PLUGIN_DIRF, nmbuf); 92 (void) strlcat(pname, FRUTREE_CONFFILE_NAME, PATH_MAX); 93 if (access(pname, R_OK) == 0) { 94 (void) strlcpy(outfilename, pname, PATH_MAX); 100 (void) snprintf(pname, PATH_MAX, PICLD_PLAT_PLUGIN_DIRF, nmbuf); 101 (void) strlcat(pname, FRUTREE_CONFFILE_NAME, PATH_MAX); 102 if (access(pname, R_OK) == 0) { 103 (void) strlcpy(outfilename, pname, PATH_MAX); 108 (void) snprintf(pname, PATH_MA [all...] |
/illumos-gate/usr/src/cmd/pools/common/ |
H A D | utils.c | 43 static const char *pname; variable 71 if (pname != NULL) 72 (void) fprintf(stderr, PNAME_FMT, pname); 89 if (pname != NULL) 90 (void) fprintf(stderr, PNAME_FMT, pname); 112 pname = p;
|
/illumos-gate/usr/src/cmd/rctladm/ |
H A D | utils.c | 39 static char *pname; variable 47 if (pname != NULL) 48 (void) fprintf(stderr, gettext(PNAME_FMT), pname); 63 if (pname != NULL) 64 (void) fprintf(stderr, gettext(PNAME_FMT), pname); 82 pname = p; 83 return (pname);
|
/illumos-gate/usr/src/cmd/mkpwdict/ |
H A D | mkpwdict.c | 40 char *pname; variable 46 pname, msg); 54 "usage: %s [-s dict1,...,dictn ] [-d dest-path ]\n", pname); 73 if ((pname = strrchr(argv[0], '/')) == NULL) 74 pname = argv[0]; 76 pname++; 118 pname, default_dbdst); 128 pname, default_dbsrc);
|
/illumos-gate/usr/src/cmd/fm/fminject/common/ |
H A D | inj_err.c | 43 static const char *pname; variable 51 if (pname != NULL) 52 return (pname); 60 pname = p; 62 pname = q + 1; 64 return (pname); 72 if (pname != NULL) 73 (void) fprintf(stderr, "%s: ", pname);
|
/illumos-gate/usr/src/cmd/svc/mfstscan/ |
H A D | mfstscan.c | 100 char *pname = mhash_filename_to_propname(argv[i], local 103 if (pname != NULL) 104 (void) puts(pname);
|
/illumos-gate/usr/src/tools/ctf/common/ |
H A D | utils.c | 39 static const char *pname; variable 47 if (pname != NULL) 48 return (pname); 56 pname = p; 58 pname = q + 1; 60 return (pname); 68 if (pname != NULL) 69 (void) fprintf(stderr, "%s: ", pname);
|
/illumos-gate/usr/src/cmd/lofiadm/ |
H A D | utils.c | 47 static const char *pname; variable 56 if (pname != NULL) 57 (void) fprintf(stderr, gettext(PNAME_FMT), pname); 74 if (pname != NULL) 75 (void) fprintf(stderr, gettext(PNAME_FMT), pname); 96 pname = p;
|
/illumos-gate/usr/src/cmd/dumpadm/ |
H A D | utils.c | 42 static const char *pname; variable 51 if (pname != NULL) 52 (void) fprintf(stderr, gettext(PNAME_FMT), pname); 69 if (pname != NULL) 70 (void) fprintf(stderr, gettext(PNAME_FMT), pname); 92 pname = p;
|
H A D | main.c | 50 const char *pname = getpname(argv[0]); local 79 (void) fprintf(stderr, gettext(USAGE), pname); 86 (void) fprintf(stderr, gettext(USAGE), pname); 92 die(gettext("you must be root to use %s\n"), pname);
|
/illumos-gate/usr/src/cmd/awk/ |
H A D | maketab.c | 39 char *pname; member in struct:xx
|
/illumos-gate/usr/src/tools/mbh_patch/ |
H A D | mbh_patch.c | 42 static char *pname; variable 68 pname, fname, eh->e_type); 72 (void) fprintf(stderr, "%s: %s: no program headers\n", pname, 82 "hdrs\n", pname, fname, eh->e_phnum); 98 pname, fname); 129 "PT_LOAD wasn't 1st PT_LOAD\n", pname, fname); 134 pname, fname); 155 "section\n", pname, fname); 174 pname = strrchr(argv[0], '/'); 175 if (pname [all...] |
/illumos-gate/usr/src/lib/libuutil/common/ |
H A D | uu_pname.c | 44 static const char *pname; variable 91 if (pname != NULL) 92 (void) fprintf(stderr, PNAME_FMT, pname); 175 pname = getexecname(); 176 if (pname == NULL) 177 pname = "unknown_command"; 178 return (pname); 187 pname = arg0; 195 pname = p + 1; 200 return (pname); [all...] |
/illumos-gate/usr/src/cmd/newtask/ |
H A D | utils.c | 43 static const char *pname; variable 52 if (pname != NULL) 53 (void) fprintf(stderr, gettext(PNAME_FMT), pname); 70 if (pname != NULL) 71 (void) fprintf(stderr, gettext(PNAME_FMT), pname); 93 pname = p;
|
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/ |
H A D | cancel.c | 65 cancel_jobs_for_user(char *user, papi_encryption_t encryption, char *pname) { argument 72 if (pname == NULL) { 78 list_append(&printers, strdup(pname));
|
/illumos-gate/usr/src/cmd/acctadm/ |
H A D | utils.c | 48 static char *pname; variable 56 if (pname != NULL) 57 (void) fprintf(stderr, gettext(PNAME_FMT), pname); 72 if (pname != NULL) 73 (void) fprintf(stderr, gettext(PNAME_FMT), pname); 96 pname = p; 97 return (pname);
|
/illumos-gate/usr/src/tools/elfextract/ |
H A D | elfextract.c | 42 static char *pname; variable 65 pname, eh->e_type); 69 (void) fprintf(stderr, "%s: no program headers\n", pname); 79 pname, eh->e_phnum); 117 (void) fprintf(stderr, "%s: Failed finding PT_LOAD section\n", pname); 135 pname, eh->e_type); 139 (void) fprintf(stderr, "%s: no program headers\n", pname); 149 pname, eh->e_phnum); 187 (void) fprintf(stderr, "%s: Failed finding PT_LOAD section\n", pname); 210 pname [all...] |
/illumos-gate/usr/src/tools/protocmp/ |
H A D | proto_list.c | 231 read_in_protolist(const char *pname, elem_list *list, int verbose) argument 240 if ((proto_fp = fopen(pname, "r")) == NULL) { 241 perror(pname); 246 (void) printf("reading in proto_list(%s)...\n", pname);
|
/illumos-gate/usr/src/lib/libnisdb/yptol/ |
H A D | shim_ancil.c | 201 * <name>.dir. pname is a ptr to the filename. This should be an absolute 215 ypcheck_map_existence_yptol(char *pname) argument 221 if (!pname || ((len = (int)strlen(pname)) == 0) || 230 (void) strcpy(dbfile, pname); 243 (void) strcpy(dbfile, pname); 257 (void) strcpy(dbfile, pname); 271 (void) strcpy(dbfile, pname);
|
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_cfgfile.c | 224 char *pname = "nsw-config-string"; local 338 rc = _nscd_cfg_get_handle(pname, db, &h, errorp);
|