ngc 1.5.0
 
Loading...
Searching...
No Matches
ngcbDebug.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <errno.h>
#include <ngc/core/ngcb.h>
#include <ngc/core/ngcbSocket.h>

Macros

#define _GNU_SOURCE
 
#define _REENTRANT
 

Functions

FILE * ngcbDebugOpen (char *erms)
 
void ngcbDebugClose (FILE *debugStream)
 
void ngcbPrint (FILE *fd, void *buffer, size_t size, int bitPix, size_t max)
 

Variables

int ngcbVerboseFlag = 0
 

Detailed Description

Macro Definition Documentation

◆ _GNU_SOURCE

#define _GNU_SOURCE

◆ _REENTRANT

#define _REENTRANT

Function Documentation

◆ ngcbDebugClose()

void ngcbDebugClose ( FILE * debugStream)

Close a debug stream. The function returns no value.

◆ ngcbDebugOpen()

FILE * ngcbDebugOpen ( char * erms)

Open a debug stream to a new x-terminal. The function returns a stream to be written to.

◆ ngcbPrint()

void ngcbPrint ( FILE * fd,
void * buffer,
size_t size,
int bitPix,
size_t max )

Print up to max elements of buffer

Variable Documentation

◆ ngcbVerboseFlag

int ngcbVerboseFlag = 0

Global verbose flag for all basic functions