x = open("./123.txt", O_RDONLY);
x2 = dup(x);
y = open("./123.txt", O_RDONLY);

read(x, &c, 1);
putchar(c);
read(x2, &c, 1);
putchar(c);
read(y, &c, 1);
putchar(c);