{
    "mode": "man",
    "parameter": "compile_et",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/compile_et/1/json",
    "generated": "2026-06-13T20:02:35Z",
    "synopsis": "compileet file",
    "sections": {
        "NAME": {
            "content": "compileet - error table compiler\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "compileet file\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Compileet  converts a table listing error-code names and associated messages into a C source\nfile suitable for use with the comerr(3) library.\n\nThe source file name must end with a suffix of ``.et''; the file consists  of  a  declaration\nsupplying the name (up to four characters long) of the error-code table:\n\nerrortable name\n\nfollowed by up to 256 entries of the form:\n\nerrorcode name, \" string \"\n\nand a final\n",
            "subsections": [
                {
                    "name": "end",
                    "content": "to indicate the end of the table.\n\nThe name of the table is used to construct the name of a subroutine initializeXXXXerrorta‐\nble which must be called in order for the comerr library to recognize the error table.\n\nThe various error codes defined are assigned sequentially increasing numbers (starting with a\nlarge number computed as a hash function of the name of the table); thus for compatibility it\nis suggested that new codes be added only to the end of an existing table, and that no  codes\nbe removed from tables.\n\nThe  names  defined in the table are placed into a C header file with preprocessor directives\ndefining them as integer constants of up to 32 bits in magnitude.\n\nA C source file is also generated which should be compiled and linked with the  object  files\nwhich  reference  these error codes; it contains the text of the messages and the initializa‐\ntion subroutine.  Both C files have names derived from that of the original source file, with\nthe ``.et'' suffix replaced by ``.c'' and ``.h''.\n\nA  ``#''  in the source file is treated as a comment character, and all remaining text to the\nend of the source line will be ignored.\n\n"
                }
            ]
        },
        "BUGS": {
            "content": "Since the original compileet uses a very simple parser based on yacc(1),  and  this  current\nversion  of compileet uses an awk/sed combination of scripts, its error recovery leaves much\nto be desired.\n\n\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "comerr (3).\n\nKen Raeburn, \"A Common Error Description Library for UNIX\".\n\n\n\nSIPB                                         30 Mar 1998                               COMPILEET(1)",
            "subsections": []
        }
    },
    "summary": "compileet - error table compiler",
    "flags": [],
    "examples": [],
    "see_also": []
}