getAbsPath is a C header (getAbsPath.h) or an ANSI C tool (getAbsPath) that converts relative Unix/Win32 paths to absolute ones. It uses the current working directory (CWD) as a basis. You can use it for tasks such as finding out the current path of a shell script.
| Tags | Utilities Software Development Libraries education Desktop Environment tools |
|---|---|
| Licenses | Public Domain |
| Operating Systems | OS Independent |
| Implementation | C |
| Translations | English |
- All comments
Recent commentsRe: Useless for UNIX?
> What's wrong with:
%
> For shell: set cwd_abs=`cd $1 &&
> pwd`
>
> For C: realpath(...)
This doesn't work for all operating systems!
Useless for UNIX?
What's wrong with:
For shell: set cwd_abs=`cd $1 && pwd`
For C: realpath(...)