QDP++
qdp_strnlen.h File Reference
#include "qdp_config.h"
#include <stdlib.h>
#include <sys/types.h>
#include <string.h>

Go to the source code of this file.

Functions

size_t strnlen (const char *s, size_t maxlen)

Function Documentation

◆ strnlen()

size_t strnlen ( const char * s,
size_t maxlen )

Definition at line 10 of file qdp_strnlen.cc.

Referenced by gethostname().