Peter Stuge wrote:
-int mkdirp(const char *dirpath, mode_t mode) +/**
- Create a new directory including any missing parent directories.
- @param parent Return an error if a new directory would be created outside
- this directory. Pass "/" to allow new directories to be created anywhere.
- @param dirpath The new directory that should be created.
- @param mode Permissions to use for newly created directories.
- */
+int mkdirp(const char *parent, const char *dirpath, mode_t mode)
conflicts with: (where libgen is a compatibility dummy in solaris 10 at least, deferring that object to libc, so it always conflicts)
String Pattern-Matching Library Functions mkdirp(3GEN)
NAME mkdirp, rmdirp - create or remove directories in a path
SYNOPSIS cc [ flag ... ] file ... -lgen [ library ... ] #include <libgen.h>
int mkdirp(const char *path, mode_t mode); [...]
Regards, Patrick Georgi