[Info-vax] Looking into C-include files on VMS
Eberhard Heuser
eberhard.heuser at chemie.uni-konstanz.de
Tue Nov 10 11:18:14 EST 2009
Joerg,
try the HP ITRC OpenVMS forum.
If you search the keyword "fork" for example, the first results gives an
example.
Eberhard
----- Original Message -----
From: "Joerg Schilling" <js at cs.tu-berlin.de>
Newsgroups: comp.os.vms
To: <info-vax at rbnsn.com>
Sent: Tuesday, November 10, 2009 4:16 PM
Subject: Re: [Info-vax] Looking into C-include files on VMS
> In article <op.u24yw8madc3j58 at notemv-tap.mv.privat>,
> Martin Vorlaender <mv at pdv-systeme.de> wrote:
>
>>> With a real vfork() you may use vfork() in all these cases as long as
>>> you do not use stdio in the child and as long as you call _exit()
>>> instead of exit() in the child in case if a problem. On VMS, you would
>>> need to dup2() descriptors 0/1/2 to other numbers before redirecting
>>> 0/1/2 for the new process _and_ you would need to restore 0/1/2 in the
>>> parent. The latter makes it hard to suport I/O redirection in typical
>>> software.
>>
>>That's what the HP C RTL has decc$set_child_standard_streams() for, see
>>http://h71000.www7.hp.com/doc/83final/5763/5763pro_029.html#decc_set_child_routine
>
> Thank you, this helps for most left over cases. Is there a documented
> method to find documentation for unknown interfaces with specific features
> whithout asking people?
>
> On UNIX I can use "man -k keyword" or check the "SEE ALSO" parts of the
> documentation from similar interfaces.
>
> --
> EMail:joerg at schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353
> Berlin
> js at cs.tu-berlin.de (uni)
> joerg.schilling at fokus.fraunhofer.de (work) Blog:
> http://schily.blogspot.com/
> URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
>
--------------------------------------------------------------------------------
> _______________________________________________
> Info-vax mailing list
> Info-vax at rbnsn.com
> http://rbnsn.com/mailman/listinfo/info-vax_rbnsn.com
>
More information about the Info-vax
mailing list