2001-01-30 06:40:50 +08:00
|
|
|
/* The signgam variable is stored in the reentrancy structure. This
|
|
|
|
function returns its address for use by the macro signgam defined in
|
|
|
|
math.h. */
|
|
|
|
|
|
|
|
#include <math.h>
|
|
|
|
#include <reent.h>
|
|
|
|
|
|
|
|
#ifndef _REENT_ONLY
|
|
|
|
|
|
|
|
int *
|
2017-12-04 11:00:43 +08:00
|
|
|
__signgam (void)
|
2001-01-30 06:40:50 +08:00
|
|
|
{
|
2002-02-03 20:53:04 +08:00
|
|
|
return &_REENT_SIGNGAM(_REENT);
|
2001-01-30 06:40:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|