Open hannesm opened 10 years ago
via https://github.com/mirage/mirage-fs-unix/pull/3 (thanks @dsheets):
PATH_MAX
resolved_path==NULL
free
realpath
errno
EACCES
ENOENT
via https://github.com/mirage/mirage-fs-unix/pull/3 (thanks @dsheets):
PATH_MAX
may not be defined and theresolved_path==NULL
feature should be used to get a malloc'd buffer (and then copy to an OCaml string andfree
).realpath
may seterrno
toEACCES
orENOENT
and then return a non-NULL pointer to the failing prefix