Back to index

glibc  2.9
Classes | Functions
spawn_int.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  __spawn_action
union  __spawn_action.action
struct  __spawn_action.action.close_action
struct  __spawn_action.action.dup2_action
struct  __spawn_action.action.open_action

Functions

int __posix_spawn_file_actions_realloc (posix_spawn_file_actions_t *file_actions)
int __spawni (pid_t *pid, const char *path, const posix_spawn_file_actions_t *file_actions, const posix_spawnattr_t *attrp, char *const argv[], char *const envp[], int use_path)

Class Documentation

union __spawn_action.action

Definition at line 11 of file spawn_int.h.

Class Members
action close_action
action dup2_action
action open_action
struct __spawn_action.action.close_action

Definition at line 13 of file spawn_int.h.

Class Members
int fd
struct __spawn_action.action.dup2_action

Definition at line 17 of file spawn_int.h.

Class Members
int fd
int newfd
struct __spawn_action.action.open_action

Definition at line 22 of file spawn_int.h.

Class Members
int fd
mode_t mode
int oflag
const char * path

Function Documentation

Definition at line 30 of file spawn_faction_init.c.

{
  int newalloc = file_actions->__allocated + 8;
  void *newmem = realloc (file_actions->__actions,
                       newalloc * sizeof (struct __spawn_action));

  if (newmem == NULL)
    /* Not enough memory.  */
    return ENOMEM;

  file_actions->__actions = (struct __spawn_action *) newmem;
  file_actions->__allocated = newalloc;

  return 0;
}

Here is the caller graph for this function:

int __spawni ( pid_t pid,
const char *  path,
const posix_spawn_file_actions_t file_actions,
const posix_spawnattr_t attrp,
char *const  argv[],
char *const  envp[],
int  use_path 
)

Definition at line 36 of file spawni.c.

{
  __set_errno (ENOSYS);
  return -1;
}

Here is the call graph for this function:

Here is the caller graph for this function: