#include #include #include #include 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; }