Develop a DOS program
John Wei
jwei at hpcuhc.cup.hp.com
Thu Oct 25 02:25:17 AEST 1990
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");
}
.
.
}
More information about the Comp.unix.xenix.sco
mailing list