jwei@hpcuhc.cup.hp.com (John Wei) (10/24/90)
I was using SCO Sys V/386 UNIX cross development package to compile and link a small program. When I run the binary under DOS, open() failed with error message "No such file or directory". Any comment? -------------------------------- main(argc, argv) int argc; char *argv[]; { . . /* argv[1] is file name that I specified on command line */ if((fd=open(argv[1], O_CREAT|O_RDWR, S_IWRITE)) < 0) { perror("open"); } . . }