spawn.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <signal.h>
#include <stdarg.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <grass/config.h>
#include <grass/gis.h>
#include <grass/glocale.h>
#include <grass/spawn.h>

Include dependency graph for spawn.c:

Go to the source code of this file.

Data Structures

struct  redirect
struct  signal
struct  binding

Defines

#define MAX_ARGS   256
#define MAX_BINDINGS   256
#define MAX_SIGNALS   32
#define MAX_REDIRECTS   32

Functions

int G_spawn (char *command,...)
int G_spawn_ex (char *command,...)


Define Documentation

#define MAX_ARGS   256

Definition at line 19 of file spawn.c.

Referenced by G_spawn(), and G_spawn_ex().

#define MAX_BINDINGS   256

Definition at line 20 of file spawn.c.

#define MAX_REDIRECTS   32

Definition at line 22 of file spawn.c.

#define MAX_SIGNALS   32

Definition at line 21 of file spawn.c.


Function Documentation

int G_spawn ( char *  command,
  ... 
)

Definition at line 39 of file spawn.c.

References G_warning(), MAX_ARGS, and NULL.

int G_spawn_ex ( char *  command,
  ... 
)


Generated on Sun Apr 6 17:32:25 2008 for GRASS by  doxygen 1.5.5