Back to index

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

Go to the source code of this file.


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


static void do_prepare (void)
static int do_test (void)


int fd

Define Documentation

#define PREPARE (   argc,
)    do_prepare ()

Definition at line 28 of file tst-unlockedio.c.

#define TEST_FUNCTION   do_test ()

Definition at line 29 of file tst-unlockedio.c.

Function Documentation

static void do_prepare ( void  ) [static]

Definition at line 149 of file tst-unlockedio.c.

  fd = create_temp_file ("tst-unlockedio.", NULL);
  if (fd == -1)
      printf ("cannot create temporary file: %m\n");
      exit (1);

Here is the call graph for this function:

static int do_test ( void  ) [static]

Variable Documentation

Definition at line 25 of file tst-unlockedio.c.