Back to index

glibc  2.9
Defines | Functions | Variables
tst-execvp3.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/stat.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)


static char * fname

Define Documentation

#define PREPARE (   argc,
)    do_prepare ()

Definition at line 9 of file tst-execvp3.c.

#define TEST_FUNCTION   do_test ()

Definition at line 11 of file tst-execvp3.c.

Function Documentation

static void do_prepare ( void  ) [static]

Definition at line 19 of file tst-execvp3.c.

  int fd = create_temp_file ("testscript", &fname);
  dprintf (fd, "echo foo\n");
  fchmod (fd, 0700);
  close (fd);

Here is the call graph for this function:

static int do_test ( void  ) [static]

Variable Documentation

char* fname [static]

Definition at line 16 of file tst-execvp3.c.