Gromacs  2020.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions | Variables
anonymous_namespace{path.cpp} Namespace Reference

Functions

bool isDirSeparator (char chr)
 Check whether a given character is a directory separator.
 

Variables

const char cDirSeparator = '/'
 Directory separator to use when joining paths.
 
const char cDirSeparators [] = "/\\"
 Directory separators to use when parsing paths.
 
const char cPathSeparator = ':'
 Separator to use to split the PATH environment variable. More...
 

Variable Documentation

anonymous_namespace{path.cpp}::cPathSeparator = ':'

Separator to use to split the PATH environment variable.

When reading the PATH environment variable, Unix separates entries with colon, while windows uses semicolon.