Mail Archives: djgpp/1995/08/25/06:18:08
Hello,
I am trying to port a program to MS-DOS using djgpp. The program is called
gsftopk and it creates a pk file (font file used by any TeX dvi driver)
from a gsf file (a font description for ghostscript).
gcc compiles the program and it reports only three warnings but when I try to
execute it I get an error message. Following is a complete list of the
error and the code that produced it:
Declarations:
int pid;
int std_in[2];
int std_out[2];
int status;
The commnand tha causes the error:
if (pipe(std_in) != 0 || pipe(std_out) != 0) {
perror("pipe");
return 1;
}
The error message:
pipe: Unknown error 32
If you can help me, please drop me a message to: apostolo AT platon DOT ee DOT duth DOT gr
Thanks in advance for any help!
apostolos...
PS The include files of djgpp have definitions for pipe, fork, and wait.
- Raw text -