32 #if ! defined (_XOPEN_SOURCE)
36 #include <sys/types.h>
48 int (*cmp) (
const void *,
const void *))
50 qsort (base, n, size, cmp);
56 return strcasecmp (s1, s2);
62 return strncasecmp (s1, s2, n);
65 #ifdef HAVE_LOADLIBRARY_API
70 octave_w32_library_search (HINSTANCE handle,
const char * name)
72 return (GetProcAddress (handle, name));
79 return WAITPID (pid, status, options);
85 (*current_liboctave_warning_handler)
86 (
"%s always returns false in this version of Octave; status = %d",
95 #if defined (WIFEXITED)
109 #if defined (WEXITSTATUS)
123 #if defined (WIFSIGNALED)
124 retval = WIFSIGNALED (status);
137 #if defined (WTERMSIG)
138 retval = WTERMSIG (status);
151 #if defined (WCOREDUMP)
152 retval = WCOREDUMP (status);
165 #if defined (WIFSTOPPED)
166 retval = WIFSTOPPED (status);
179 #if defined (WSTOPSIG)
180 retval = WSTOPSIG (status);
193 #if defined (WIFCONTINUED)
194 retval = WIFCONTINUED (status);
OCTAVE_API int octave_wstopsig(int status)
OCTAVE_API pid_t octave_waitpid(pid_t pid, int *status, int options)
static void gripe_missing_wait_macro(const char *id, int status)
OCTAVE_API int octave_wcoredump(int status)
OCTAVE_API int octave_wtermsig(int status)
OCTAVE_API int octave_strncasecmp(const char *s1, const char *s2, size_t n)
OCTAVE_API int octave_wifstopped(int status)
OCTAVE_API int octave_wexitstatus(int status)
OCTAVE_API int octave_strcasecmp(const char *s1, const char *s2)
#define WIFEXITED(stat_val)
OCTAVE_API int octave_wifcontinued(int status)
size_t size(T const (&)[z])
OCTAVE_API int octave_wifsignaled(int status)
OCTAVE_API void octave_qsort(void *base, size_t n, size_t size, int(*cmp)(const void *, const void *))
#define WEXITSTATUS(stat_val)
OCTAVE_API int octave_wifexited(int status)