Sounds like you want to read man 2 pathconf 2013/1/1 Friedrich Locke <friedrich.lo...@gmail.com>: > Hi list members, > > i wrote a simple function in ANSI C : > > unsigned long > nammax_len(void) > { > struct dirent d; > > return sizeof d.d_name; > } > > On OpenBSD i got, as a return value, 256. > May i assume that on OpenBSD system, the maximum file name component > (excluding '\0') is 255 bytes ? > > Thanks in advance. >
-- May the most significant bit of your life be positive.