fs_is_symlink
-
int fs_is_symlink(const char *path)
Checks if a path corresponds to a symbolic link.
if (!fs_is_symlink("./somesymlink")) { print("path is not a symbolic link"); } else { print("path is a symbolic link"); }- Parameters
path – [in] Some null-terminated path
- Returns
If path points to an existing symbolic link.