hi,
i'm using FLAT memory model. i want to use dirname() in my app. but there seems to be no safe way to use static-buffer returning functions like this unless you have very tight control on what you run on your system. am i correct? i think it makes sense for nuttx to provide non-standard reentrant versions of these functions. (say, dirname_r(). macOS has it.) how do you think?