![]() ![]() | ![]() |
version 1.1, 2012/08/01 09:20:04 | version 1.1.2.1, 2012/08/01 09:20:04 |
---|---|
Line 0 | Line 1 |
#include <stdio.h> | |
#include <unistd.h> | |
#include <fcntl.h> | |
#include <aitio.h> | |
int | |
main(int argc, char **argv) | |
{ | |
int f; | |
f = open("test_aio.dat", O_CREAT | O_RDWR | O_TRUNC, 0644); | |
if (f == -1) { | |
perror("open"); | |
return 1; | |
} | |
close(f); | |
return 0; | |
} |