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
тАО01-22-2009 01:55 AM
тАО01-22-2009 01:55 AM
CXX usage
Which header is to be called ?
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2009 03:15 AM
тАО01-22-2009 03:15 AM
Re: CXX usage
lib$routines.h
If you've extracted the header files from the
text libraries (which libraries are what the
compilers actually use), as was done in the
old days, you can SEARCH them.
I define a logical name:
ALP $ show logical decc_include
"DECC_INCLUDE" = "SYS$COMMON:[DECC$LIB.REFERENCE.DECC$RTLDEF]" (LNM$SYSTEM_TABLE)
= "SYS$COMMON:[DECC$LIB.REFERENCE.SYS$STARLET_C]"
ALP $ search decc_include:*.h LIB$DAY_OF_WEEK
******************************
SYS$COMMON:[DECC$LIB.REFERENCE.SYS$STARLET_C]LIB$ROUTINES.H;11
/* LIB$DAY_OF_WEEK */
#define lib$day_of_week LIB$DAY_OF_WEEK
unsigned int lib$day_of_week(
unsigned int lib$day_of_week(__unknown_params);
I believe that nowadays the compiler
installation procedure does not give you the
option of extracting these "reference" header
files, so I wrote a command procedure to do
the LIBRARY /EXTRACT operations needed.
> [...] how to use [...]
Re-inquire if this remains a mystery (after
reading the LIB$ manual).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2009 04:42 AM
тАО01-22-2009 04:42 AM
Re: CXX usage
sys$input lib$day_of_week /wind=(0,1)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2009 05:48 AM
тАО01-22-2009 05:48 AM
Re: CXX usage
Well, yes, but then, if you wish to look at
the argument list, or some other context,
you're still stuck. I find it much more
convenient to have the loose files lying
around somewhere. Seems to me to be a good
trade-off between disk space and CPU work.
And that's "/extr=".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2009 06:51 AM
тАО01-22-2009 06:51 AM
Re: CXX usage
http://mvb.saic.com/freeware/freewarev70/libext/
As for examples of calling routines from C:
http://www.eight-cubed.com/examples.shtml
Google finds piles of stuff for the following query:
http://www.google.com/search?hl=en&q=lib+day_of_week+example