Article View: comp.std.c
Article #2807Re: ANSI C standard library
From: John F Carr
Date: Thu, 25 Apr 1991 23:28
Date: Thu, 25 Apr 1991 23:28
12 lines
1126 bytes
1126 bytes
In article <1991Apr25.201855.27893@watdragon.waterloo.edu>
ccplumb@rose.waterloo.edu (Colin Plumb) writes:
>signal.h - without external interrupts, a portable version can be written,
> except for SIG_DFL, SIG_ERR and SIG_IGN.
You can declare functions and define the macros to be the addresses of
these functions (the function names need to be among those reserved to the
implementation, for example "__sig_dfl"). The address of a function is a
constant expression according to section 3.4 of the standard.
--
John Carr (jfc@athena.mit.edu)
Technical Details
Message-ID:
<1991Apr25.232832.21747@athena.mit.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!agate!ucbvax!bloom-beacon!bloom-picayune.mit.edu!athena.mit.edu!jfcReferences:
<1991Apr20.092845.14164@watdragon.waterloo.edu> <681@taumet.com> <1991Apr25.201855.27893@watdragon.waterloo.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!agate!ucbvax!bloom-beacon!bloom-picayune.mit.edu!athena.mit.edu!jfc From: jfc@athena.mit.edu (John F Carr) Newsgroups: comp.std.c Subject: Re: ANSI C standard library Message-ID: <1991Apr25.232832.21747@athena.mit.edu> Date: 25 Apr 91 23:28:32 GMT References: <1991Apr20.092845.14164@watdragon.waterloo.edu> <681@taumet.com> <1991Apr25.201855.27893@watdragon.waterloo.edu> Sender: news@athena.mit.edu (News system) Organization: Massachusetts Institute of Technology Lines: 12