logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

pmem2_perror() - prints a descriptive error message to stderr

Description

       The pmem2_perror() function produces a message on standard error stream describing the last error encoun‐
       tered during library call.

       pmem2_perror() takes a variable number of arguments.  First, the argument string format is printed - sim‐
       ilarly  to  the  printf(3),  followed  by  a colon and a blank.  Then an error message retrieved from the
       pmem2_errormsg(), and a new-line.  To see how the  error  message  is  generated,  please  see  pmem2_er‐rormsg(3).

Name

pmem2_perror() - prints a descriptive error message to stderr

See Also

libpmem2(7), perror(3), pmem2_errormsg(3), printf(3) and <https://pmem.io>

Synopsis

              #include <libpmem2.h>

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

See Also