If I want to allocate a char array (in C) that is guaranteed to be large enough to hold any valid absolute path+filename, how big does it need to be.
On Win32, ther
You can use pathconf()
to figure out at run-time, but there's also a PATH_MAX preprocessor define in <limits.h>
.