The problem is that you are using backslashes, not slashes.
The path component delimiter on UNIXes is /
, not \
.
And because /
is not particularly special in a C string, you do not need to escape it with a backslash. So: not \\
, not \/
and certainly not //
.