… | |
… | |
405 | free (target); |
405 | free (target); |
406 | } |
406 | } |
407 | |
407 | |
408 | =item eio_realpath (const char *path, int pri, eio_cb cb, void *data) |
408 | =item eio_realpath (const char *path, int pri, eio_cb cb, void *data) |
409 | |
409 | |
410 | Similar to the realpath libc function, but unlike that one, result is |
410 | Similar to the realpath libc function, but unlike that one, C<< |
411 | C<-1> on failure and the length of the returned path in C<ptr2> (which is |
411 | req->result >> is C<-1> on failure. On success, the result is the length |
412 | not 0-terminated) - this is similar to readlink. |
412 | of the returned path in C<ptr2> (which is I<NOT> 0-terminated) - this is |
|
|
413 | similar to readlink. |
413 | |
414 | |
414 | =item eio_stat (const char *path, int pri, eio_cb cb, void *data) |
415 | =item eio_stat (const char *path, int pri, eio_cb cb, void *data) |
415 | |
416 | |
416 | =item eio_lstat (const char *path, int pri, eio_cb cb, void *data) |
417 | =item eio_lstat (const char *path, int pri, eio_cb cb, void *data) |
417 | |
418 | |