{
    "content": [
        {
            "type": "text",
            "text": "# zero (man)\n\n## NAME\n\nnull, zero - data sink\n\n## DESCRIPTION\n\nData written to the /dev/null and /dev/zero special files is discarded.\n\n## Sections\n\n- **NAME**\n- **DESCRIPTION**\n- **FILES**\n- **NOTES**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "zero",
        "section": "",
        "mode": "man",
        "summary": "null, zero - data sink",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "chown",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/chown/1/json"
            },
            {
                "name": "mknod",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/mknod/1/json"
            },
            {
                "name": "full",
                "section": "4",
                "url": "https://www.chedong.com/phpMan.php/man/full/4/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 11,
                "subsections": []
            },
            {
                "name": "FILES",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "NOTES",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 3,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "null, zero - data sink\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Data written to the /dev/null and /dev/zero special files is discarded.\n\nReads  from /dev/null always return end of file (i.e., read(2) returns 0), whereas reads from\n/dev/zero always return bytes containing zero ('\\0' characters).\n\nThese devices are typically created by:\n\nmknod -m 666 /dev/null c 1 3\nmknod -m 666 /dev/zero c 1 5\nchown root:root /dev/null /dev/zero\n",
                "subsections": []
            },
            "FILES": {
                "content": "/dev/null\n/dev/zero\n",
                "subsections": []
            },
            "NOTES": {
                "content": "If these devices are not writable  and  readable  for  all  users,  many  programs  will  act\nstrangely.\n\nSince Linux 2.6.31, reads from /dev/zero are interruptible by signals.  (This change was made\nto help with bad latencies for large reads from /dev/zero.)\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "chown(1), mknod(1), full(4)\n\nLinux man-pages 6.7                          2023-10-31                                      null(4)",
                "subsections": []
            }
        }
    }
}