The mode_t structure holds the permissions that you want to set on *Path.
Take a look at the mkdir(2) and the chmod(2) man pages for more info.
> The syntax for mkdir is :
>
> #include <sys/mode.h>
> #include <sys/stat.h>
>
> int mkdir (Path, Mode)
> const char *Path;
> mode_t Mode;
>
> I don't understand the mode_t structure. Can somebody mail me an example of
> how to use this function in a C-program ?
>
> Thx and greetings
>
> -------------------------------------------------------------------------
> De Messemaeker Johan
> Research & Development
> HEMMIS n.v.
> Koning LeopoldIII-laan 2, 8500 Kortrijk
> Tel.: 32 (0)56/37.26.37
> Fax: 32 (0)56/37.23.24
> Current Project : VMM Aalst
>