readlink
Functions
plat_readlink
plat
Read's symlink (may be determined by DET_SYMLINK) and returns original file path.
ARGUMENTS
-
path - path to symbolic link
-
buffer - destination buffer
-
buflen - length of destination buffer
RETURN VALUES
length of original file path. In case of error returns -1
NOTES
may not be implemented on some platforms
PLATAPI int plat_readlink(const char* path, char* buffer, size_t buflen)