need a special cpp macro like _XPG4 defined or the name buffer would need to be dynamically allocated based on pathconf(), which is undesirably complicated. Instead 255 is used as a suitably sized NAME_MAX and 1024 in place of PATH_MAX.
need a special cpp macro like _XPG4 defined or the name buffer would need to be dynamically allocated based on pathconf(), which is undesirably complicated. Instead 255 is used as a suitably sized NAME_MAX and 1024 in place of PATH_MAX.