OpenVAS Libraries  7.0.7
Functions
system.c File Reference
#include <stdio.h>
#include <sys/types.h>
#include <unistd.h>
#include <sys/wait.h>
#include <time.h>
#include <string.h>
#include <strings.h>
#include <ctype.h>
#include <arpa/inet.h>
#include "system_internal.h"
#include "openvas_logging.h"
#include <malloc.h>

Functions

void * emalloc (size_t size)
 
char * estrdup (const char *str)
 
void efree (void *ptr)
 
void * erealloc (void *ptr, size_t size)
 

Function Documentation

void efree ( void *  ptr)
void* emalloc ( size_t  size)

This method always returns the requested memory size. If anything failed during allocating it, the exit() routine is entered to stop the program.

void* erealloc ( void *  ptr,
size_t  size 
)
char* estrdup ( const char *  str)