system("ipconfig > test.txt") && fatal("System call failed"); open(IPCONFIG,"test.txt") || fatal("Ordinary open failed");