Function parpe::mkpath

Function Documentation

int parpe::mkpath(char *file_path, mode_t mode)

Create the path to the given file. Does not error if path exists.

Return

0 on success, -1 otherwise

Parameters
  • file_path: File name

  • mode: File mode