Lines Matching defs:file

4  * The contents of this file are subject to the terms of the
6 * You may not use this file except in compliance with the License.
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
25 * sgsmsg generates several message files from an input template file. Messages
29 * msg.h a header file containing definitions for each message. The -h
37 * messages a message file suitable for catgets(3c) or gettext(3i) use. The
41 * The template file is processed based on the first character of each line:
43 * # or $ entries are copied (as is) to the message file (messages).
50 * indicator _START_ enables output to the message file - Note that
53 * the message file. The use of these two indicators provides for
55 * to the message file.
62 * identifier file (specified with the -i option).
67 * becomes the `message' identifier created in the msg.h file.
88 * Errmsg_malt = "sgsmsg: file %s: line %d: malformed input "
91 * Errmsg_opne = "sgsmsg: file %s: open failed: %s\n",
92 * Errmsg_wrte = "sgsmsg: file %s: write failed: %s\n",
93 * Errmsg_read = "sgsmsg: file %s: read failed %s\n",
98 "[-m messages] [-n name] [-i mesgident] file ...\n";
187 * value from the specified message identifier file (specified with the -i
197 * provide the required message identifier file (-i option) we're in
201 (void) fprintf(stderr, "sgsmsg: file %s: line %d: mesgid %s: "
203 "no message identifier file specified "
214 * Read the message identifier file and locate the required mesgid.
250 (void) fprintf(stderr, "sgsmsg: file %s: line %d: mesgid %s: "
252 "identifier does not exist in file %s\n",
267 (void) fprintf(stderr, "sgsmsg: file %s: line %d: "
280 * Generate the message file output (insure output flag is enabled).
303 * definition file.
360 * Initialize the message definition header file stream.
446 * Finish the message definition header file.
487 * Copy the temporary lint defs file into the new header.
527 * The entire messaging file has been scanned - and all strings have been
636 file()
680 * file.
766 * any message file entries.
770 (void) fprintf(stderr, "file "
777 (void) fprintf(stderr, "file "
788 * message string to the message file. For
989 * Empty lines are passed through to the message file.
1026 (void) fprintf(stderr, "file %s: line %d: invalid "
1055 flmids = optarg; /* from this file */
1061 flmsgs = optarg; /* to this file */
1078 * Validate the we have been given at least one input file.
1137 * Read the input message file, and for each line process accordingly.
1149 err = file();
1158 * file.
1180 * Finish off any generated data and header file.