via mirage/mirage-fs-unix#3 (thanks @dsheets):
PATH_MAX may not be defined and the resolved_path==NULL feature should be used to get a malloc'd buffer (and then copy to an OCaml string and free).
- GNU
realpath may set errno to EACCES or ENOENT and then return a non-NULL pointer to the failing prefix
via mirage/mirage-fs-unix#3 (thanks @dsheets):
PATH_MAXmay not be defined and theresolved_path==NULLfeature should be used to get a malloc'd buffer (and then copy to an OCaml string andfree).realpathmay seterrnotoEACCESorENOENTand then return a non-NULL pointer to the failing prefix