pmpathseparator(3)

pmpathseparator3

Return the filesystem path separator character

Part of pmPathSeparator(3).

C synopsis

#include <pcp/pmapi.h>

int pmPathSeparator(void);

cc ... -lpcp

Overview

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.

From libpcp3-dev 4.3.2+really4.3.1-0.1 in Debian 10 (Buster). Parsed by carta from the page's man source.