Back to index

glibc  2.9
Defines | Functions | Variables
bug-mmap-fflush.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../test-skeleton.c"

Go to the source code of this file.


#define PREPARE(argc, argv)   prepare ()
#define TEST_FUNCTION   do_test ()


static void prepare (void)
static int do_test (void)


static char * fname

Define Documentation

#define PREPARE (   argc,
)    prepare ()

Definition at line 11 of file bug-mmap-fflush.c.

#define TEST_FUNCTION   do_test ()

Definition at line 14 of file bug-mmap-fflush.c.

Function Documentation

static int do_test ( void  ) [static]
static void prepare ( void  ) [static]

Definition at line 20 of file bug-mmap-fflush.c.

  int fd = create_temp_file ("bug-mmap-fflush.", &fname);
  if (fd == -1)
    exit (3);
  /* We don't need the descriptor.  */
  close (fd);

Here is the call graph for this function:

Variable Documentation

char* fname [static]

Definition at line 8 of file bug-mmap-fflush.c.