🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.programmer
Article #603

Re: __acrtused

#603
From: Walter Bright
Date: Mon, 04 Jun 1990 18:48
14 lines
1148 bytes
In article <139@matrix.UUCP> venkat@matrix.UUCP (D Venkatrangan) writes:
<The assembly listing from a MS-C compiler shows a 'EXTRN __acrtused ABS' entry.
<If these objects are linked in without the crt0.obj from the library, this
<symbol ends up being undefined.
<What specific role does the __acrtused variable perform during linking/loading
<and during program execution.

It causes the startup code to be pulled in from the library to satisfy
the reference.

<If I choose to define this public, what should
<it be initialized to?

It doesn't matter. But you'll have to supply your own startup code.
Technical Details
Message-ID: <2530@dataio.Data-IO.COM>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!uunet!pilchuck!dataio!bright
References: <139@matrix.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!uunet!pilchuck!dataio!bright
From: bright@Data-IO.COM (Walter Bright)
Newsgroups: comp.sys.ibm.pc.programmer,alt.msdos.programmer
Subject: Re: __acrtused
Keywords: C Runtime, C compiler
Message-ID: <2530@dataio.Data-IO.COM>
Date: 4 Jun 90 18:48:19 GMT
References: <139@matrix.UUCP>
Reply-To: bright@Data-IO.COM (Walter Bright)
Followup-To: comp.sys.ibm.pc.programmer
Distribution: na
Organization: Data I/O Corporation; Redmond, WA
Lines: 14