Back to index

cell-binutils  2.17cvs20070401
Functions | Variables
testprog.c File Reference

Go to the source code of this file.

Functions

int strcmp (char *, const char *)
int printf (const char *,...)
int fn (void)
int main (void)

Variables

int common
int global = 1
static int local = 2
static char string [] = "string"

Function Documentation

int fn ( void  )

Definition at line 12 of file testprog.c.

{
  return 3;
}

Here is the caller graph for this function:

int main ( void  )

Definition at line 18 of file testprog.c.

{
  if (common != 0
      || global != 1
      || local != 2
      || strcmp (string, "string") != 0)
    {
      printf ("failed\n");
      return 1;
    }

  printf ("ok\n");
  return 0;
}

Here is the call graph for this function:

int printf ( const char *  ,
  ... 
)
int strcmp ( char *  ,
const char *   
)

Variable Documentation

Definition at line 6 of file testprog.c.

int global = 1

Definition at line 7 of file testprog.c.

int local = 2 [static]

Definition at line 8 of file testprog.c.

char string[] = "string" [static]

Definition at line 9 of file testprog.c.