Back to index

glibc  2.9
Defines | Functions | Variables
test-matherr.c File Reference
#include <math.h>
#include <stdio.h>
#include <stdlib.h>

Go to the source code of this file.


#define _SVID_SOURCE


int matherr (struct exception *s)
int main (void)


static int fail = 1

Define Documentation

#define _SVID_SOURCE

Definition at line 2 of file test-matherr.c.

Function Documentation

int main ( void  )

Definition at line 18 of file test-matherr.c.

  acos (2.0);
  return fail;
int matherr ( struct exception s)

Definition at line 10 of file test-matherr.c.

  printf ("matherr is working\n");
  fail = 0;
  return 1;

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

int fail = 1 [static]

Definition at line 7 of file test-matherr.c.