Skip to content

[libc][POSIX] provide _POSIX_ARG_MAX in limits.h #124947

@nickdesaulniers

Description

@nickdesaulniers

building llvm against llvm-libc fails with:

/llvm-project-main/llvm/lib/Support/Unix/Program.inc:561:24: error: use of undeclared identifier '_POSIX_ARG_MAX'

posix says this should go in limits.h and have a value of 4096. We should put this in:

libc/include/llvm-libc-macros/limits-macros.h

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issuehttps://github.com/llvm/llvm-project/contributelibc

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions