?
Solved

HPUX System #include Files

Posted on 2000-02-23
2
Medium Priority
?
217 Views
Last Modified: 2013-11-18
In porting code from HPUX to Windows, I have run accross three system files that I do not know how to deal with.  The files are #include <sys/param.h>, #include <sys/types.h>, and #include <sys/times.h>.  I need to know how to change these #include files to get the code to run on my system.  Also, I have run across a file #include <set.port.h>.  Is this the same file as <set.h>?  If not, how can I work around it?
0
Comment
Question by:Bilbrey
2 Comments
 
LVL 9

Expert Comment

by:jasonclarke
ID: 2551357
The way to start might be to get rid of them and then see what won't compile.  You should have more sucess looking up the missing functions/data structures etc. then trying to find header file equivalents.
0
 
LVL 2

Accepted Solution

by:
mflam earned 400 total points
ID: 2552416
time.h instead of sys/times.h
types.h instead of sys/types.h
-----
What types are in the params?
Simply look up the type in the msdn and
add the correct file for it.

If your project is something complex
(with Digital Signal Processing for instance - moving an audio file from platform to platform etc.) post here your further questions and I (along with other experts) will be glad to help.
Or, simply close this question as answered...

HTH, Moshe
0

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface This article introduces an authentication and authorization system for a website.  It is understood by the author and the project contributors that there is no such thing as a "one size fits all" system.  That being said, there is a certa…
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Suggested Courses

578 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question