Message-Id: <3187.9607091455@vvl.co.uk> To: djgpp AT delorie DOT com Reply-To: ians AT vvl DOT co DOT uk From: ians AT vvl DOT co DOT uk (Ian Stevenson) Subject: _dup2 and _spawnvp functions needed Date: Tue, 09 Jul 96 15:57:45 BST I am using djgpp to port come code from another environment - specifically and Intel i960 compiler. It was originally compiled with something else, and the DJGPP v2.0 libraries don't seem to have all of the functions that I need. In particular: _spawnvp _dup2 _splitpath _fullpath The last two I can hack in C (I have the specification for all of them in the online help of Microsoft Visual C), and I have already done so successfully. _spawnvp and _dup2 I have less confidence in my ability to re-write. Is it possible to use the Microsoft Libraries - technically and legally? ( the program must use DPMI memory etc from protected mode - I suspect the Microsoft libraries won't support this) Does anyone have a library for DJGPP which has these functions, or any idea of where I could get one? Or, can anyone tell me how to re-write these functions :-(. Thanks in advance, and to all those who have already helped me on various issues, Ian Stevenson, ians AT vvl DOT co DOT uk