constant
FILENAME_MAX
<cstdio>
Maximum length of file names
This macro constant expands to an integral expression corresponding to the size needed for an array of
char elements to hold the longest file name string allowed by the system. Or, if the system imposes no such restriction, it is set to the recommended size for character arrays intended to hold any file name.