view lib/makepath.h @ 4347:df44e79ce676

.h files should stand alone, but we shouldn't include <sys/types.h> if we can get away with just <stddef.h>.
author Paul Eggert <eggert@cs.ucla.edu>
date Wed, 04 Jun 2003 19:22:29 +0000
parents 807748d2448e
children c6450308f123
line wrap: on
line source

#ifndef PARAMS
# if defined PROTOTYPES || (defined __STDC__ && __STDC__)
#  define PARAMS(Args) Args
# else
#  define PARAMS(Args) ()
# endif
#endif

int
make_path PARAMS ((const char *_argpath,
		   int _mode,
		   int _parent_mode,
		   uid_t _owner,
		   gid_t _group,
		   int _preserve_existing,
		   const char *_verbose_fmt_string));

int
make_dir PARAMS ((const char *dir,
		  const char *dirpath,
		  mode_t mode,
		  int *created_dir_p));