| Main index | Section 3 | Options |
The resulting path name may include symbolic links. abs2rel() doesn't check whether or not any path exists.
yields:
path == "/usr/src/sys"
Similarly,
path1 = rel2abs("src/sys", "/usr", result, MAXPATHLEN);
path2 = rel2abs(".", "/usr/src/sys", result, MAXPATHLEN);
yields:
path1 == "/usr/src/sys"
path2 == "/usr/src/sys"
| [EINVAL] | |
| The base directory isn't an absolute path name or the size argument is zero. | |
| [ERANGE] | |
| The size argument is greater than zero but smaller than the length of the pathname plus 1 | |
| REL2ABS (3) | August 7, 2022 |
| Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | If you have a problem and you think awk(1) is the solution, then you have two problems. | ” |
| — David Tilbrook | ||