Defines

syswait.h File Reference

#include <sys/types.h>
Include dependency graph for syswait.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define WAITPID(a, b, c)   waitpid (a, b, c)
#define WEXITSTATUS(stat_val)   ((unsigned)(stat_val) >> 8)
#define WIFEXITED(stat_val)   (((stat_val) & 255) == 0)
#define WIFSIGNALLED(stat_val)   (((stat_val) & 0177) != 0177 && ((stat_val) & 0177) != 0)

Define Documentation

#define WAITPID (   a,
  b,
  c 
)    waitpid (a, b, c)

Definition at line 58 of file syswait.h.

Referenced by octave_waitpid().

#define WEXITSTATUS (   stat_val  )     ((unsigned)(stat_val) >> 8)

Definition at line 43 of file syswait.h.

Referenced by DEFUN(), DEFUNX(), and run_command_and_return_output().

#define WIFEXITED (   stat_val  )     (((stat_val) & 255) == 0)

Definition at line 39 of file syswait.h.

Referenced by DEFUN(), DEFUNX(), pager_event_handler(), and run_command_and_return_output().

#define WIFSIGNALLED (   stat_val  )     (((stat_val) & 0177) != 0177 && ((stat_val) & 0177) != 0)

Definition at line 47 of file syswait.h.

Referenced by pager_event_handler().

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines