HP3000-L Archives

February 1999, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Scott Herman <[log in to unmask]>
Reply To:
Scott Herman <[log in to unmask]>
Date:
Fri, 19 Feb 1999 14:15:23 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (46 lines)
Dennis Handly wrote:

> Scott Herman ([log in to unmask]) wrote:
> : 1. I need to put _start
>
> _start (A secondary entry) only works in program files.

Right, because it contains an outer block. I'm more interested in what
it does to initialize global or static information required by C libry
functions.

> : Is this the only call required to initialize stdio?
>
> I don't think you need to initialize it.  I have called C routines
> from other languages with no problems.
> Though I vaguely recall having to call _init_c_globals??

What can you tell me about _init_c_globals?

> :     _close : I'll bet it closes stdio files.
> :     _dup : Hmmmm... I dunno.
>
> These are close(2) and dup(2).

Ok. does that mean I won't be able to close() or dup() from any program
that is is not bound to _start?

>
> : Any assistance with this stuff would be greatly appreciated.
> : Scott Herman
>
> Have you looked at the C/iX Programmer's Guide?

Yes. The only information I've found there on XL-able code there is is
pretty sparse.
Perhaps you could point me in the direction of some more copious
information?

Thank You for your assistance in this matter.

Scott Herman
Dept. of Lab Medicine
Yale New Haven Hospital
New Haven Ct. 06511
[log in to unmask]

ATOM RSS1 RSS2