[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NAME_MAX on MingW
From: |
Bruno Haible |
Subject: |
Re: NAME_MAX on MingW |
Date: |
Mon, 08 Mar 2021 01:14:15 +0100 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-203-generic; KDE/5.18.0; x86_64; ; ) |
Hi Reuben,
> NAME_MAX is defined in limits.h.
No. POSIX [1] specifies that it may be omitted from <limits.h>, and
that pathconf (_PC_NAME_MAX) is the right way to access the maximum
length of a file name component. [2]
> So my question is: is there something gnulib can/should do here?
I don't see anything Gnulib should do here.
Bruno
[1] https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/limits.h.html
[2] https://pubs.opengroup.org/onlinepubs/9699919799/functions/pathconf.html