{
    "content": [
        {
            "type": "text",
            "text": "# readproctab(3) (man)\n\n**Summary:** readproctab, freeproctab  - read information for all current processes at once\n\n## See Also\n\n- openproc(3)\n- readproc(3)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (1 lines) — 1 subsections\n  - #include <proc/readproc.h> (4 lines)\n- **DESCRIPTION** (10 lines)\n- **SEE ALSO** (2 lines)\n- **REPORTING BUGS** (5 lines)\n\n## Full Content\n\n### NAME\n\nreadproctab, freeproctab  - read information for all current processes at once\n\n### SYNOPSIS\n\n#### #include <proc/readproc.h>\n\nproct readproctab(int flags, ... );\nvoid freeproctab(proct p);\n\n### DESCRIPTION\n\nreadproctab  reads  information on all processes matching the criteria from flags, allocating\nmemory for everything as needed. It returns a NULL-terminated list of  proct  pointers.  For\nmore information on the arguments of readproctab, see openproc(3).\n\nfreeproctab frees all memory allocated by readproctab.\n\nThe  proct  structure is defined in <proc/readproc.h>, please look there for a definition of\nall fields.\n\n### SEE ALSO\n\nopenproc(3), readproc(3), /proc/, /usr/include/proc/readproc.h.\n\n### REPORTING BUGS\n\nPlease send bug reports to ⟨procps@freelists.org⟩\n\n\n\nLinux Manpage                               14 July 2014                              READPROCTAB(3)\n\n"
        }
    ],
    "structuredContent": {
        "command": "readproctab",
        "section": "3",
        "mode": "man",
        "summary": "readproctab, freeproctab  - read information for all current processes at once",
        "synopsis": "",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "openproc",
                "section": "3",
                "url": "https://www.chedong.com/phpMan.php/man/openproc/3/json"
            },
            {
                "name": "readproc",
                "section": "3",
                "url": "https://www.chedong.com/phpMan.php/man/readproc/3/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "#include <proc/readproc.h>",
                        "lines": 4
                    }
                ]
            },
            {
                "name": "DESCRIPTION",
                "lines": 10,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "REPORTING BUGS",
                "lines": 5,
                "subsections": []
            }
        ]
    }
}