nis-util  1.0.D108
Functions
lib/path_join.h File Reference
#include <lib/rcstring.h>

Go to the source code of this file.

Functions

rcstring path_join (const rcstring &lhs, const rcstring &rhs)
rcstring path_join (const rcstring &p1, const rcstring &p2, const rcstring &p3)
rcstring path_join (const rcstring &p1, const rcstring &p2, const rcstring &p3, const rcstring &p4)

Function Documentation

rcstring path_join ( const rcstring lhs,
const rcstring rhs 
)

The path_join function is used to elegantly join two path pieces together, talking care of redundant slash characters, dot directorys, etc.

Definition at line 111 of file path_join.cc.

rcstring path_join ( const rcstring p1,
const rcstring p2,
const rcstring p3 
)

Definition at line 121 of file path_join.cc.

rcstring path_join ( const rcstring p1,
const rcstring p2,
const rcstring p3,
const rcstring p4 
)

Definition at line 132 of file path_join.cc.