Searched defs:msgfile (Results 1 - 10 of 10) sorted by relevance

/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/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/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/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/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/msgfmt/
H A Dmsgfmt.c194 static char msgfile[MAXPATHLEN]; local
516 (void) strcpy(msgfile, gcurrent_domain);
517 (void) strcat(msgfile, ".mo");
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dnodes.h44 char *msgfile; member in struct:alert_node
/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dgettext.h147 char *msgfile; /* msg catalog file to open */ member in struct:msg_pack
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...]
/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);

Completed in 103 milliseconds