GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Macros | Functions
lo-cutils.c File Reference
#include "lo-error.h"
#include <sys/types.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "lo-cutils.h"
#include "syswait.h"
Include dependency graph for lo-cutils.c:

Go to the source code of this file.

Macros

#define _XOPEN_SOURCE
 

Functions

static void gripe_missing_wait_macro (const char *id, int status)
 
OCTAVE_API void octave_qsort (void *base, size_t n, size_t size, int(*cmp)(const void *, const void *))
 
OCTAVE_API int octave_strcasecmp (const char *s1, const char *s2)
 
OCTAVE_API int octave_strncasecmp (const char *s1, const char *s2, size_t n)
 
OCTAVE_API pid_t octave_waitpid (pid_t pid, int *status, int options)
 
OCTAVE_API int octave_wcoredump (int status)
 
OCTAVE_API int octave_wexitstatus (int status)
 
OCTAVE_API int octave_wifcontinued (int status)
 
OCTAVE_API int octave_wifexited (int status)
 
OCTAVE_API int octave_wifsignaled (int status)
 
OCTAVE_API int octave_wifstopped (int status)
 
OCTAVE_API int octave_wstopsig (int status)
 
OCTAVE_API int octave_wtermsig (int status)
 

Macro Definition Documentation

#define _XOPEN_SOURCE

Definition at line 33 of file lo-cutils.c.

Function Documentation

static void gripe_missing_wait_macro ( const char id,
int  status 
)
inlinestatic
OCTAVE_API void octave_qsort ( void *  base,
size_t  n,
size_t  size,
int(*)(const void *, const void *)  cmp 
)

Definition at line 47 of file lo-cutils.c.

OCTAVE_API int octave_strcasecmp ( const char s1,
const char s2 
)

Definition at line 54 of file lo-cutils.c.

OCTAVE_API int octave_strncasecmp ( const char s1,
const char s2,
size_t  n 
)

Definition at line 60 of file lo-cutils.c.

Referenced by almost_match().

OCTAVE_API pid_t octave_waitpid ( pid_t  pid,
int status,
int  options 
)

Definition at line 77 of file lo-cutils.c.

References WAITPID.

Referenced by octave_syscalls::waitpid().

OCTAVE_API int octave_wcoredump ( int  status)

Definition at line 147 of file lo-cutils.c.

References gripe_missing_wait_macro().

Referenced by octave_wait::coredump().

OCTAVE_API int octave_wexitstatus ( int  status)

Definition at line 105 of file lo-cutils.c.

References gripe_missing_wait_macro(), and WEXITSTATUS.

Referenced by octave_wait::exitstatus().

OCTAVE_API int octave_wifcontinued ( int  status)

Definition at line 189 of file lo-cutils.c.

References gripe_missing_wait_macro().

Referenced by octave_wait::ifcontinued().

OCTAVE_API int octave_wifexited ( int  status)

Definition at line 91 of file lo-cutils.c.

References gripe_missing_wait_macro(), and WIFEXITED.

Referenced by octave_wait::ifexited().

OCTAVE_API int octave_wifsignaled ( int  status)

Definition at line 119 of file lo-cutils.c.

References gripe_missing_wait_macro().

Referenced by octave_wait::ifsignaled().

OCTAVE_API int octave_wifstopped ( int  status)

Definition at line 161 of file lo-cutils.c.

References gripe_missing_wait_macro().

Referenced by octave_wait::ifstopped().

OCTAVE_API int octave_wstopsig ( int  status)

Definition at line 175 of file lo-cutils.c.

References gripe_missing_wait_macro().

Referenced by octave_wait::stopsig().

OCTAVE_API int octave_wtermsig ( int  status)

Definition at line 133 of file lo-cutils.c.

References gripe_missing_wait_macro().

Referenced by octave_wait::termsig().