table of contents
other versions
- bookworm 6.0.3-1.1
- testing 6.2.0-1
- unstable 6.2.0-1.1+b1
- experimental 6.2.0-1.1~exp1
PMPATHSEPARATOR(3) | Library Functions Manual | PMPATHSEPARATOR(3) |
NAME¶
pmPathSeparator - return the filesystem path separator character
C SYNOPSIS¶
#include <pcp/pmapi.h>
int pmPathSeparator(void);
cc ... -lpcp
DESCRIPTION¶
pmPathSeparator is a convenience method that returns ``/'' in the civilized world. For Windows platforms you may get ``/'' or ``\'' depending on the run-time environment.
The most common use scenario is to use pmPathSeparator to construct the full pathname for a file from a known directory name and a relative file name.
PCP | Performance Co-Pilot |