- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Pascal code to use a C function
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2003 05:58 AM
тАО10-31-2003 05:58 AM
I know that I can write a "C" stub and call it as a function but what I would like to do is make the call to the "C" "open()" directly from the pascal program instead of writting a stub like "openit.c"
Is there a way to do this?
Solved! Go to Solution.
- Tags:
- Pascal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2003 06:18 AM
тАО10-31-2003 06:18 AM
Re: Pascal code to use a C function
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2003 03:50 AM
тАО11-03-2003 03:50 AM
Solutionwith pascal keywords. See
"HP Pascal/HP-UX Programmer's Guide" and
"HP Pascal/HP-UX Reference Manual" at
http://www.docs.hp.com./hpux/dev/index.html#Pascal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2003 04:28 AM
тАО11-03-2003 04:28 AM
Re: Pascal code to use a C function
Look like I will have to write "c" wrappers for these calls.
I have attached the pascal file if you would like to look at what I am doing.
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2003 06:44 AM
тАО11-03-2003 06:44 AM
Re: Pascal code to use a C function
When I first came into the UNIX world I was very proficient in Pascal and found that more and more I was calling external C routines. I finally gave up and did everything in C. If you have a great deal of Pascal code, there is a Gnu utility that will translate your Pascal to reasonably good C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2003 07:41 AM
тАО11-03-2003 07:41 AM
Re: Pascal code to use a C function
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2003 07:58 AM
тАО11-03-2003 07:58 AM
Re: Pascal code to use a C function
http://hpux.connect.org.uk/hppd/hpux/Languages/p2c-1.20/
- Tags:
- p2c
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2005 03:24 AM
тАО05-12-2005 03:24 AM