logo

utils-std

Collection of commonly available Unix tools git clone https://anongit.hacktivis.me/git/utils-std.git

pathchk-getlimits.c (352B)


  1. // utils-std: Collection of commonly available Unix tools
  2. // SPDX-FileCopyrightText: 2017 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
  3. // SPDX-License-Identifier: MPL-2.0
  4. #define _POSIX_C_SOURCE 202405L
  5. #include <stdio.h>
  6. #include <limits.h>
  7. int main(void)
  8. {
  9. (void)printf("NAME_MAX=%zd\nPATH_MAX=%zd\n", NAME_MAX, PATH_MAX);
  10. return 0;
  11. }