logo

utils-std

Collection of commonly available Unix tools git clone https://anongit.hacktivis.me/git/utils-std.git

mkdir.h (416B)


  1. // utils-std: Collection of commonly available Unix tools
  2. // SPDX-FileCopyrightText: 2017 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
  3. // SPDX-License-Identifier: MPL-2.0
  4. #include <stdbool.h>
  5. #include <sys/types.h> // mode_t
  6. // to be declared in each utility
  7. extern const char *argv0;
  8. extern bool mkdir_parents_verbose;
  9. extern mode_t mkdir_parents_filemask;
  10. int mkdir_parents(char *path, mode_t mode);