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

Reply via email to