QDP++
qdp_util.cc File Reference

Utility routines like info and error reporting. More...

#include <cstdarg>
#include <unistd.h>
#include "qdp.h"
#include "qdp_strnlen.h"

Go to the source code of this file.

Namespaces

namespace  QDP
 Yet another random number generator.

Functions

int gethostname (char *hostname, size_t size)
int QDP::QDP_info (const char *format,...)
 Simple information display routine.
int QDP::QDP_error (const char *format,...)
 Simple error display routine.
void QDP::QDP_error_exit (const char *format,...)
 Simple error display and abort routine.
void QDP::QDP_verbose (bool verbose)
multi1d< int > QDP::uniquify_list (const multi1d< int > &ll)
 Unique-ify a list.

Detailed Description

Utility routines like info and error reporting.

Definition in file qdp_util.cc.

Function Documentation

◆ gethostname()

int gethostname ( char * hostname,
size_t size )