Back to index

cell-binutils  2.17cvs20070401
Classes | Defines | Functions
pex-common.h File Reference
#include "config.h"
#include "libiberty.h"
#include <stdio.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  pex_obj
struct  pex_funcs

Defines

#define install_error_msg   "installation problem, cannot exec `%s'"
#define STDIN_FILE_NO   0
#define STDOUT_FILE_NO   1
#define STDERR_FILE_NO   2
#define READ_PORT   0
#define WRITE_PORT   1

Functions

struct pex_objpex_init_common (int, const char *, const char *, const struct pex_funcs *)

Class Documentation

struct pex_obj

Definition at line 48 of file pex-common.h.

Collaboration diagram for pex_obj:
Class Members
long * children
int count
int flags
struct pex_funcs * funcs
FILE * input_file
int next_input
char * next_input_name
int next_input_name_allocated
int number_waited
const char * pname
FILE * read_err
FILE * read_output
char ** remove
int remove_count
int * status
int stderr_pipe
void * sysdep
const char * tempbase
struct pex_time * time

Define Documentation

#define install_error_msg   "installation problem, cannot exec `%s'"

Definition at line 29 of file pex-common.h.

#define READ_PORT   0

Definition at line 41 of file pex-common.h.

#define STDERR_FILE_NO   2

Definition at line 38 of file pex-common.h.

#define STDIN_FILE_NO   0

Definition at line 32 of file pex-common.h.

#define STDOUT_FILE_NO   1

Definition at line 35 of file pex-common.h.

#define WRITE_PORT   1

Definition at line 44 of file pex-common.h.


Function Documentation

struct pex_obj* pex_init_common ( int  ,
const char *  ,
const char *  ,
const struct pex_funcs  
) [read]

Definition at line 53 of file pex-common.c.

{
  struct pex_obj *obj;

  obj = XNEW (struct pex_obj);
  obj->flags = flags;
  obj->pname = pname;
  obj->tempbase = tempbase;
  obj->next_input = STDIN_FILE_NO;
  obj->next_input_name = NULL;
  obj->next_input_name_allocated = 0;
  obj->stderr_pipe = -1;
  obj->count = 0;
  obj->children = NULL;
  obj->status = NULL;
  obj->time = NULL;
  obj->number_waited = 0;
  obj->input_file = NULL;
  obj->read_output = NULL;
  obj->read_err = NULL;
  obj->remove_count = 0;
  obj->remove = NULL;
  obj->funcs = funcs;
  obj->sysdep = NULL;
  return obj;
}

Here is the caller graph for this function: