Searched refs:msgfile (Results 1 - 17 of 17) sorted by relevance

/illumos-gate/usr/src/cmd/srchtxt/
H A Dsrchtxt.c79 static char *msgfile; /* points to the argument immediately */ variable
119 msgfile = optarg;
154 end = msgfile + strlen(msgfile) + 1;
155 if (*msgfile == ',' || *(end - 2) == ',')
157 while ((fname = strtok(msgfile, ",\0")) != NULL) {
165 msgfile = msgfile + strlen(fname) + 1;
169 if (end != msgfile)
177 if (end == msgfile)
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgettxt.c83 char msgfile[DB_NAME_LEN]; /* name of static shared library */ local
104 (void) strncpy(msgfile, msg_id, name_len);
105 msgfile[name_len] = '\0';
115 (void) strcpy(msgfile, cur_cat);
134 if (strcmp(msgfile, dbl->db_name) == 0) {
135 /* msgfile found */
169 _DFLT_LOC_PATH "%s" MESSAGES "%s", dbc->loc, msgfile) >=
194 (void) strcpy(dbl->db_name, msgfile);
/illumos-gate/usr/src/cmd/genmsg/
H A Dmain.c99 char *msgfile = NULL; local
118 msgfile = optarg;
209 if (IsActiveMode(AppendMode) && msgfile != NULL) {
210 read_msgfile(msgfile);
213 if (msgfile == NULL) {
216 if ((msgfile = malloc(len)) == NULL) {
220 (void) snprintf(msgfile, len, "%s%s", tmp, MSG_SUFFIX);
363 write_msgfile(msgfile);
/illumos-gate/usr/src/cmd/exstr/
H A Dexstr.c259 char *msgfile; local
315 msgfile = repbufp;
316 if (strlen(msgfile) > (size_t)14 || *msgfile == '\0') {
319 "'%s'\n", msgfile);
403 "gettxt(\"%s:%d\", \"%s\")", msgfile, curmsgno,
407 "gettxt(\"%s:%d\", \"\")", msgfile, curmsgno);
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dalerts.c86 pformat(pr->alert->msgfile, text, pr, rp);
96 Unlink(pr->alert->msgfile);
103 pwformat(pp->alert->msgfile, pp);
111 Unlink(pp->alert->msgfile);
126 formPath = fp->alert->msgfile;
140 Unlink(fp->alert->msgfile);
154 if (Access(pr->alert->msgfile, 0) == 0) {
288 Unlink(ap->msgfile);
H A Dnodes.h44 char *msgfile; member in struct:alert_node
H A Dexec.c1048 (void)Chown (printer->alert->msgfile, procuid, procgid);
1052 av[ac++] = arg_string(TRUSTED, "%s", printer->alert->msgfile);
1059 (void)Chown (pwheel->alert->msgfile, procuid, procgid);
1063 av[ac++] = arg_string(TRUSTED, "%s", printer->alert->msgfile);
1070 (void)Chown (form->alert->msgfile, procuid, procgid);
1074 av[ac++] = arg_string(TRUSTED, "%s", printer->alert->msgfile);
H A Dfncs.c161 if (ap->msgfile != NULL)
162 free(ap->msgfile);
178 result->msgfile = makepath(Lp_Temp, buf, (char *)0);
179 (void) Unlink(result->msgfile);
H A Ddowait.c481 (void)Unlink (pas->msgfile);
H A Ddisp2.c117 Unlink (pps->alert->msgfile);
/illumos-gate/usr/src/cmd/ast/msgcc/
H A Dmsggen.c108 "\ncatfile [ msgfile ]\n"
220 char* msgfile; local
350 else if (!(msgfile = *argv++) || *argv)
359 if (!(mp = sfopen(NiL, msgfile, "r")))
360 error(ERROR_SYSTEM|3, "%s: cannot read message file", msgfile);
374 error_info.file = msgfile;
/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dgettext_util.c70 * msgfile - buffer to store the pathname to the message file
79 * mp->msgfile - pathname to the message file is stored
82 * mp->msgfile is returned
97 p = mp->msgfile;
101 cblen = (uint32_t)(p - mp->msgfile);
119 * totallen is the length of the msgfile
144 gprintf(0, "mp->msgfile: \"%s\"\n", mp->msgfile);
147 return (mp->msgfile);
155 * msgfile
[all...]
H A Dgettext_real.c61 char msgfile[MAXPATHLEN]; /* 1024 */ local
171 mp->msgfile = msgfile;
228 (void) memcpy(mp->msgfile, cb, cblen);
229 *(mp->msgfile + cblen) = '\0';
234 gprintf(0, " msgfile: \"%s\"\n",
235 msgfile ? msgfile : "(null)");
269 *mp->msgfile = '\0';
1071 mnp->path = strdup(mp->msgfile);
[all...]
H A Dgettext.h147 char *msgfile; /* msg catalog file to open */ member in struct:msg_pack
H A Dgettext_gnu.c326 *mp->msgfile = '\0';
/illumos-gate/usr/src/cmd/lvm/metassist/xml/
H A Dxml_convert.c648 * Find the "msgfile" variable node. This is where
1278 FILE *msgfile = NULL; local
1282 msgfile = fdopen(fildes, "w");
1285 if (msgfile == NULL) {
1295 if (fprintf(msgfile, "%s", text) < 0) {
1306 fclose(msgfile);
/illumos-gate/usr/src/cmd/msgfmt/
H A Dmsgfmt.c194 static char msgfile[MAXPATHLEN]; local
516 (void) strcpy(msgfile, gcurrent_domain);
517 (void) strcat(msgfile, ".mo");

Completed in 93 milliseconds