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);