appendPath - multiple declarations

Function appendPath

Appends file path parts with proper delimiters e.g. appendPath("/home/user", ".myapp", "config") => "/home/user/.myapp/config"

Prototype

string appendPath(
  string[] pathItems
);

Function appendPath

Appends file path parts with proper delimiters (as well converts delimiters inside path to system) to buffer e.g. appendPath("/home/user", ".myapp", "config") => "/home/user/.myapp/config"

Prototype

char[] appendPath(
  char[] buf,
  string[] pathItems
);

Authors

Vadim Lopatin, coolreader.org@gmail.com

Copyright

Vadim Lopatin, 2014

License

Boost License 1.0