VSF Documented
Public Types | Data Fields
spawn_action Struct Reference

#include <spawn.h>

Public Types

enum  {
  spawn_do_close ,
  spawn_do_dup2 ,
  spawn_do_open ,
  spawn_do_chdir ,
  spawn_do_fchdir
}
 

Data Fields

enum spawn_action:: { ... }  tag
 
union { 
 
   struct { 
 
      int   fd 
 
   }   close_action 
 
   struct { 
 
      int   fd 
 
      int   newfd 
 
   }   dup2_action 
 
   struct { 
 
      int   fd 
 
      char *   path 
 
      int   oflag 
 
      mode_t   mode 
 
   }   open_action 
 
   struct { 
 
      char *   path 
 
   }   chdir_action 
 
   struct { 
 
      int   fd 
 
   }   fchdir_action 
 
action 
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
spawn_do_close 
spawn_do_dup2 
spawn_do_open 
spawn_do_chdir 
spawn_do_fchdir 

Field Documentation

◆ []

enum { ... } spawn_action::tag

◆ fd

int spawn_action::fd

◆ [struct]

struct { ... } spawn_action::close_action

◆ newfd

int spawn_action::newfd

◆ [struct]

struct { ... } spawn_action::dup2_action

◆ path

char* spawn_action::path

◆ oflag

int spawn_action::oflag

◆ mode

mode_t spawn_action::mode

◆ [struct]

struct { ... } spawn_action::open_action

◆ [struct]

struct { ... } spawn_action::chdir_action

◆ [struct]

struct { ... } spawn_action::fchdir_action

◆ [union]

union { ... } spawn_action::action