makepath.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. #ifdef NO
  2. /* makepath.c -- Ensure that a directory path exists.
  3. Copyright (C) 1994, 1995, 1996, 1997, 2000, 2003 Free Software
  4. Foundation, Inc.
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 2, or (at your option)
  8. any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program; if not, write to the Free Software Foundation,
  15. Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
  16. /* Written by David MacKenzie <djm@gnu.ai.mit.edu> and Jim Meyering. */
  17. #include <sys/types.h>
  18. int make_path (const char *_argpath,
  19. int _mode,
  20. int _parent_mode,
  21. uid_t _owner,
  22. gid_t _group,
  23. int _preserve_existing,
  24. const char *_verbose_fmt_string);
  25. int make_dir (const char *dir,
  26. const char *dirpath,
  27. mode_t mode,
  28. int *created_dir_p);
  29. #endif