Back to index

glibc  2.9
Defines | Functions | Variables
bug-rewind.c File Reference
#include <stdio.h>
#include <wchar.h>
#include "../test-skeleton.c"

Go to the source code of this file.

Defines

#define PASSED   0
#define FAILED   3
#define PREPARE(argc, argv)   prepare ()
#define TEST_FUNCTION   do_test ()

Functions

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

Variables

static int fd

Define Documentation

#define FAILED   3

Definition at line 5 of file bug-rewind.c.

#define PASSED   0

Definition at line 4 of file bug-rewind.c.

#define PREPARE (   argc,
  argv 
)    prepare ()

Definition at line 11 of file bug-rewind.c.

#define TEST_FUNCTION   do_test ()

Definition at line 14 of file bug-rewind.c.


Function Documentation

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

Definition at line 20 of file bug-rewind.c.

{
  fd = create_temp_file ("wrewind.", NULL);
  if (fd == -1)
    exit (3);
}

Here is the call graph for this function:


Variable Documentation

int fd [static]

Definition at line 8 of file bug-rewind.c.