9main (
int argc,
char *argv[])
13 printf (
"usage: %s DIRECTORY\n", argv[0]);
19 printf (
"%s: mkdir failed\n", argv[1]);
int printf(const char *format,...)
Writes formatted output to the console.
bool mkdir(const char *dir)
#define EXIT_SUCCESS
Typical return values from main() and arguments to exit().
#define EXIT_FAILURE
Unsuccessful execution.
int main(int argc, char *argv[])
mkdir.c