RTEMS Linker  0.0.1
RTEMS Tools Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
/Users/chris/Development/rtems/src/apps/rtl-host.chrisj/rld-process.cpp File Reference
#include "config.h"
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <iostream>
#include "rld.h"
#include "rld-process.h"
#include <libiberty.h>

Namespaces

namespace  rld
 
namespace  rld::process
 

Macros

#define WIFEXITED(S)   (((S) & 0xff) == 0)
 
#define WEXITSTATUS(S)   (((S) & 0xff00) >> 8)
 
#define WIFSIGNALED(S)   (((S) & 0xff) != 0 && ((S) & 0xff) != 0x7f)
 
#define WTERMSIG(S)   ((S) & 0x7f)
 
#define WIFSTOPPED   WIFEXITED
 
#define WSTOPSIG   WEXITSTATUS
 

Functions

status rld::process::execute (const std::string &pname, const std::string &command, const std::string &outname, const std::string &errname)
 
status rld::process::execute (const std::string &pname, const arg_container &args, const std::string &outname, const std::string &errname)
 
void rld::process::parse_command_line (const std::string &command, arg_container &args)
 

Macro Definition Documentation

#define WEXITSTATUS (   S)    (((S) & 0xff00) >> 8)
#define WIFEXITED (   S)    (((S) & 0xff) == 0)
#define WIFSIGNALED (   S)    (((S) & 0xff) != 0 && ((S) & 0xff) != 0x7f)
#define WIFSTOPPED   WIFEXITED
#define WSTOPSIG   WEXITSTATUS
#define WTERMSIG (   S)    ((S) & 0x7f)