OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [libiberty/] [pex-common.h] - Diff between revs 157 and 225

Show entire file | Details | Blame | View Log

Rev 157 Rev 225
Line 68... Line 68...
  /* If not -1, stderr pipe from the last process.  */
  /* If not -1, stderr pipe from the last process.  */
  int stderr_pipe;
  int stderr_pipe;
  /* Number of child processes.  */
  /* Number of child processes.  */
  int count;
  int count;
  /* PIDs of child processes; array allocated using malloc.  */
  /* PIDs of child processes; array allocated using malloc.  */
  long *children;
  pid_t *children;
  /* Exit statuses of child processes; array allocated using malloc.  */
  /* Exit statuses of child processes; array allocated using malloc.  */
  int *status;
  int *status;
  /* Time used by child processes; array allocated using malloc.  */
  /* Time used by child processes; array allocated using malloc.  */
  struct pex_time *time;
  struct pex_time *time;
  /* Number of children we have already waited for.  */
  /* Number of children we have already waited for.  */
Line 124... Line 124...
  int (*close) (struct pex_obj *, int);
  int (*close) (struct pex_obj *, int);
  /* Wait for a child to complete, returning exit status in *STATUS
  /* Wait for a child to complete, returning exit status in *STATUS
     and time in *TIME (if it is not null).  CHILD is from fork.  DONE
     and time in *TIME (if it is not null).  CHILD is from fork.  DONE
     is 1 if this is called via pex_free.  ERRMSG and ERR are as in
     is 1 if this is called via pex_free.  ERRMSG and ERR are as in
     fork.  Return 0 on success, -1 on error.  */
     fork.  Return 0 on success, -1 on error.  */
  int (*wait) (struct pex_obj *, pid_t /* child */, int * /* status */,
  pid_t (*wait) (struct pex_obj *, pid_t /* child */, int * /* status */,
               struct pex_time * /* time */, int /* done */,
               struct pex_time * /* time */, int /* done */,
               const char ** /* errmsg */, int * /* err */);
               const char ** /* errmsg */, int * /* err */);
  /* Create a pipe (only called if PEX_USE_PIPES is set) storing two
  /* Create a pipe (only called if PEX_USE_PIPES is set) storing two
     descriptors in P[0] and P[1].  If BINARY is non-zero, open in
     descriptors in P[0] and P[1].  If BINARY is non-zero, open in
     binary mode.  Return 0 on success, -1 on error.  */
     binary mode.  Return 0 on success, -1 on error.  */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.