~ubuntu-branches/ubuntu/vivid/cctools/vivid

« back to all changes in this revision

Viewing changes to dttools/src/create_dir.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Hanke
  • Date: 2011-05-07 09:05:00 UTC
  • Revision ID: james.westby@ubuntu.com-20110507090500-lqpmdtwndor6e7os
Tags: upstream-3.3.2
ImportĀ upstreamĀ versionĀ 3.3.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
Copyright (C) 2003-2004 Douglas Thain and the University of Wisconsin
 
3
Copyright (C) 2005- The University of Notre Dame
 
4
This software is distributed under the GNU General Public License.
 
5
See the file COPYING for details.
 
6
*/
 
7
 
 
8
#ifndef CREATE_DIR_H
 
9
#define CREATE_DIR_H
 
10
 
 
11
/** @file create_dir.h Create a new directory recursively. */
 
12
 
 
13
/** Create a new directory recursively.
 
14
@param path The full path of a directory.  It is not necessary for all components of the path to exist.
 
15
@param mode The desired unix mode bits of the directory.
 
16
@return One on success, zero on failure.
 
17
*/
 
18
 
 
19
int create_dir( const char *path, int mode );
 
20
 
 
21
#endif