Article View: comp.sys.super
Article #38Re: calloc on Convex C-220
From: Dale Lancaster
Date: Mon, 03 Aug 1992 22:23
Date: Mon, 03 Aug 1992 22:23
20 lines
1579 bytes
1579 bytes
In <1992Aug3.203552.12386@ringer.cs.utsa.edu> dan@ennex1.eng.utsa.edu (Dan Shelton) writes: >Is it permissible to do calloc with the number of elements being a >function, e.g. calloc (a+b-1, sizeof(float))? I have done this on a Cray >Y-MP, SGI and NeXT but the Convex does not like it. >Thanks for the help, "sizeof(float)" would be interpreted at compile time by the compiler and replaced with "4". I have used it in the same manner and it works. What specifically doesn't work when you try it? regards :-) dale -- =========================================================================== Dale M. Lancaster, Mass Storage Marketing Manager, Convex Computer Corp. (Work) 214-497-4581 (Fax) 214-497-4848 (Internet) dale@convex.com ===========================================================================
Technical Details
Message-ID:
<dale.712880595@convex.convex.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!usc!sdd.hp.com!mips!darwin.sura.net!convex!daleReferences:
<1992Aug3.203552.12386@ringer.cs.utsa.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.super
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!usc!sdd.hp.com!mips!darwin.sura.net!convex!dale
From: dale@convex.com (Dale Lancaster)
Subject: Re: calloc on Convex C-220
Message-ID: <dale.712880595@convex.convex.com>
Keywords: calloc
Sender: usenet@convex.com (news access account)
Nntp-Posting-Host: convex1.convex.com
Organization: CONVEX Computer Corporation, Richardson, Tx., USA
References: <1992Aug3.203552.12386@ringer.cs.utsa.edu>
Date: Mon, 3 Aug 1992 22:23:15 GMT
X-Disclaimer: This message was written by a user at CONVEX Computer
Corp. The opinions expressed are those of the user and
not necessarily those of CONVEX.
Lines: 20