![]() ![]() | ![]() |
added aio test
#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; }