Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

resource.h in gnv

 
phani shankar
Occasional Contributor

resource.h in gnv

i need resource.h header files for one of my projects .but its not included in openvms.specifically i require getrusage function and RUSAGE_SELF can some provide some solution please?
3 REPLIES 3
James R. Ferguson
Acclaimed Contributor

Re: resource.h in gnv

Hi:

> ...but its not included in openvms...

You should close this post and open it in the OpenVMS family.

Regards!

...JRF...
Dennis Handly
Acclaimed Contributor

Re: resource.h in gnv

>JRF: You should close this post and open it in the OpenVMS family.

A better suggestion is to provide a URL to the correct forum and to tell phani how to ask the moderators to move it.
OpenVMS > languages and scripting:
http://forums.itrc.hp.com/service/forums/categoryhome.do?categoryId=291

To request moderator action, reply to a thread like:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1318758
(I'll ask the moderators to move it.)
Hoff
Honored Contributor

Re: resource.h in gnv

The getrusage call is listed as a potential "future" at:

http://h71000.www7.hp.com/portability/future_plans.html

As the background on the problem and on the particular C code involved has been omitted, as have the OpenVMS and C versions and other details including (if feasible) a pointer to the tool(s) being evaluated or being ported, further suggestions and discussions here are difficult.

There are various alternatives to getrusage, depending on what detail(s) are needed from the call.

The other approach here is to discuss this directly with HP, if you're not able to locate an existing port of this call. times() is a potential alternative; AFAIK, getrusage is SVR and BSD but not POSIX. Looks like OpenSSL and Python might have something here.

Here are some tips on asking effective questions and how to get the best and most appropriate answers to your questions and rather more quickly:

http://www.catb.org/~esr/faqs/smart-questions.html