From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc7fa,cbf5006e2b2c4a61 X-Google-Attributes: gidfc7fa,public X-Google-Thread: 1014db,cbf5006e2b2c4a61 X-Google-Attributes: gid1014db,public From: bill@cafe.net (Kaz Kylheku) Subject: Re: DEC C popen fn Date: 1998/02/17 Message-ID: <6camqm$e2m$1@brie.direct.ca>#1/1 X-Deja-AN: 325710713 References: <6c9pqs$pun@romeo.logica.co.uk> Organization: Internet Direct Reply-To: kaz@cafe.net Newsgroups: comp.lang.c,comp.sys.vms In article <6c9pqs$pun@romeo.logica.co.uk>, Harminder Banwait wrote: >Hi, > >I'm trying to make use of the popen function that is now implemented in the >latest version of OpenVMS, but having no joy - it always returns a NULL >pointer as the file pointer. (errno stays at 0). Any suggestions as to why >this might be (permission problem ??) There is no such function in standard C. It's a UNIX/POSIX function. My man page for it says that it may return NULL; it could be that the implementors simply chose to have it return NULL each time it is called, allowing programs which use popen to compile but not actually invoke the functionality. Given that, as you say, the function wasn't supported at all in a previous version of the system, this wouldn't be surprising. I think you are lost in search for an OpenVMS programming newsgroup.