🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #3200

Re: gcc and NULL function pointers.

#3200
From: Doug Gwyn
Date: Wed, 26 Jun 1991 18:35
10 lines
971 bytes
In article <1991Jun26.053508.3634@ringer.cs.utsa.edu> djimenez@ringer.cs.utsa.edu (Daniel Jimenez) writes:
>malloc would return a value of one size which would be a valid character
>pointer, but the wrong size for an integer pointer.

That's okay; the conversion to int* takes care of that.

>I've never heard of machines like that.  Could someone give an example?

Check the comp.lang.c Frequently-Asked Questions posting.  Essentially
any word-oriented machine will be like that.
Technical Details
Message-ID: <16539@smoke.brl.mil>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!sdd.hp.com!think.com!yale.edu!cmcl2!adm!smoke!gwyn
References: <16481@smoke.brl.mil> <XZ4C6T6@xds13.ferranti.com> <1991Jun26.053508.3634@ringer.cs.utsa.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!sdd.hp.com!think.com!yale.edu!cmcl2!adm!smoke!gwyn
From: gwyn@smoke.brl.mil (Doug Gwyn)
Newsgroups: comp.std.c
Subject: Re: gcc and NULL function pointers.
Message-ID: <16539@smoke.brl.mil>
Date: 26 Jun 91 18:35:14 GMT
References: <16481@smoke.brl.mil> <XZ4C6T6@xds13.ferranti.com> <1991Jun26.053508.3634@ringer.cs.utsa.edu>
Organization: U.S. Army Ballistic Research Laboratory, APG, MD.
Lines: 10