readlink(p1)
public
Returns the name of the file referenced by the given link. Not available on all platforms.
File.symlink("testfile", "link2test")
File.readlink("link2test")
Show source
static VALUE
rb_file_s_readlink(VALUE klass, VALUE path)
{
return rb_readlink(path);
}