Dibbler - a portable DHCPv6  1.0.2RC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
lowlevel-posix.c File Reference
#include <unistd.h>
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
#include <sys/wait.h>
#include "Portable.h"
+ Include dependency graph for lowlevel-posix.c:


#define _BSD_SOURCE


int execute (const char *filename, const char *argv[], const char *env[])
void fill_random (uint8_t *buffer, int len)
 fills specified buffer with random data
int get_hostname (char *hostname, int hostname_len)
 returns host name of this host
uint32_t getAAASPIfromFile ()

Macro Definition Documentation

#define _BSD_SOURCE

Function Documentation

int execute ( const char *  filename,
const char *  argv[],
const char *  env[] 
void fill_random ( uint8_t *  buffer,
int  len 

fills specified buffer with random data

bufferrandom data will be written here
lenlength of the buffer
int get_hostname ( char *  hostname,
int  hostname_len 

returns host name of this host

hostnamebuffer (hostname will be stored here)
hostname_lenlength of the buffer
LOWLEVEL_NO_ERROR if successful, appropriate LOWLEVEL_ERROR_* otherwise
uint32_t getAAASPIfromFile ( )