Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   pmpathseparator    ( 3 )

вернуть символ разделителя пути файловой системы (return the filesystem path separator character)

Имя (Name)

pmPathSeparator - return the filesystem path separator character

Синопсис C (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.