Navigation

Operators and Keywords

Function List:

C++ API

lo-cutils.c File Reference

#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "syswait.h"

Include dependency graph for lo-cutils.c:


Defines

#define _XOPEN_SOURCE

Functions

OCTAVE_API void octave_qsort (void *base, size_t n, size_t size, int(*cmp)(const void *, const void *))
OCTAVE_API char * oct_strptime (const char *buf, const char *format, struct tm *tm)
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 int octave_gethostname (char *name, int namelen)
OCTAVE_API pid_t octave_waitpid (pid_t pid, int *status, int options)

Define Documentation

#define _XOPEN_SOURCE


Function Documentation

OCTAVE_API char* oct_strptime ( const char *  buf,
const char *  format,
struct tm *  tm 
)

OCTAVE_API int octave_gethostname ( char *  name,
int  namelen 
)

OCTAVE_API void octave_qsort ( void *  base,
size_t  n,
size_t  size,
int(*)(const void *, const void *)  cmp 
)

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 
)