{
    "content": [
        {
            "type": "text",
            "text": "# MH-MKSTEMP (man)\n\n## NAME\n\nmkstemp - create a temporary file\n\n## SYNOPSIS\n\n/usr/lib/mh/mkstemp [-help] [-version] [-directory directory] [-prefix prefix] [-suffix suf‐\nfix]\n\n## DESCRIPTION\n\nmkstemp  creates a temporary file using mkstemp(3), or if the -suffix switch is available and\nused, mkstemps(3).  The file name identifies a unique, newly created file,  and  always  con‐\ntains 6 characters that appear to be random.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **EXIT STATUS**\n- **PROFILE COMPONENTS**\n- **SEE ALSO**\n- **DEFAULTS**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "MH-MKSTEMP",
        "section": "",
        "mode": "man",
        "summary": "mkstemp - create a temporary file",
        "synopsis": "/usr/lib/mh/mkstemp [-help] [-version] [-directory directory] [-prefix prefix] [-suffix suf‐\nfix]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "mkstemp",
                "section": "3",
                "url": "https://www.chedong.com/phpMan.php/man/mkstemp/3/json"
            },
            {
                "name": "mkstemps",
                "section": "3",
                "url": "https://www.chedong.com/phpMan.php/man/mkstemps/3/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 15,
                "subsections": []
            },
            {
                "name": "EXIT STATUS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "PROFILE COMPONENTS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DEFAULTS",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "mkstemp - create a temporary file\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "/usr/lib/mh/mkstemp [-help] [-version] [-directory directory] [-prefix prefix] [-suffix suf‐\nfix]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "mkstemp  creates a temporary file using mkstemp(3), or if the -suffix switch is available and\nused, mkstemps(3).  The file name identifies a unique, newly created file,  and  always  con‐\ntains 6 characters that appear to be random.\n\nThe -directory switch specifies a directory in which to create the file.\n\nThe -prefix switch specifies an initial part, before the 6 characters, of the file name.\n\nThe  -suffix switch is only supported on platforms that provide the mkstemps(3) library func‐\ntion.  It specifies a suffix to appear after the 6 characters; if it should begin with a spe‐\ncial character such as a period, that must be explicit in suffix.\n\nUnlike arguments to most switches of other nmh commands, the arguments  to  mkstemp  switches\ncan begin with a dash.\n",
                "subsections": []
            },
            "EXIT STATUS": {
                "content": "If  mkstemp successfully creates the temporary file, it prints the file name on standard out‐\nput and exits with status 0.  On failure, it prints a diagnostic message  on  standard  error\nand exits with status 1.\n",
                "subsections": []
            },
            "PROFILE COMPONENTS": {
                "content": "None\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "mkstemp(3), mkstemps(3)\n",
                "subsections": []
            },
            "DEFAULTS": {
                "content": "-directory    current directory\n-prefix       none\n-suffix       none\n\nnmh-1.8                                      2014-03-16                              MH-MKSTEMP(1mh)",
                "subsections": []
            }
        }
    }
}