Logo Search packages:      
Sourcecode: libgphoto2 version File versions

int gp_system_mkdir ( const char *  dirname  ) 

mkdir UNIX functionality

dirname directory to create
Creates a new directory.

a gphoto error code

Definition at line 150 of file gphoto2-port-portability.c.

References GP_ERROR, and GP_OK.


        if (mkdir(dirname, 0700)<0)
                return (GP_ERROR);
        return (GP_OK);

Generated by  Doxygen 1.6.0   Back to index