PMDK man page

pmemset_perror

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO

NAME

pmemset_perror() - prints a descriptive error message to stderr

SYNOPSIS

#include <libpmemset.h>

void pmemset_perror(const char *format, ...);

DESCRIPTION

The pmemset_perror() function produces a message on standard error stream describing the last error encountered during library call.

pmemset_perror() takes a variable number of arguments. First, the argument string format is printed - similarly to the printf(3), followed by a colon and a blank. Then an error message retrieved from the pmemset_errormsg(), and a new-line. To see how the error message is generated, please see pmemset_errormsg(3).

SEE ALSO

libpmemset(7), perror(3), pmemset_errormsg(3), printf(3) and http://pmem.io