Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- libc - <b>mkdir</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
mkdir
=====

Syntax
------

     #include <sys/stat.h>
     
     int mkdir(const char *path, mode_t mode);

Description
-----------

This function creates a subdirectory.  The MODE field is ignored under
MS-DOS.

Return Value
------------

Zero if the subdirectory was created, nonzero on failure.

Example
-------

     mkdir("/usr/tmp", S_IWUSR);


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson