Search:
Login
Help/Guide
About Trac
Preferences
Register
Forgot your password?
Wiki
Timeline
Roadmap
Browse Source
View Tickets
Search
Context Navigation
Back to Ticket #2016
Ticket #2016
: mkdir_test.c
File mkdir_test.c,
165 bytes
(added by
mjw
,
17 years ago
)
Line
1
#include
<sys/stat.h>
2
#include
<sys/types.h>
3
4
int
5
main
(
int
argc
,
char
*
argv
[])
6
{
7
int
r
;
8
r
=
mkdir
(
"a/"
,
0777
);
9
if
(
r
==
-1
)
{
10
perror
(
"mkdir"
);
11
}
12
13
return
0
;
14
}
Download in other formats:
Original Format