Previous: bpipe_sprintf, Up: Utility Functions
Get an error message string.
#include <bpipe/bpipe.h>char *bpipe_strerror(BPerrno errnum);
BPerrno errnum
- Possible values for a
BPerrno
are as follows:BPNOERROR
,BPEBADARG
,BPENOMEM
,BPEBADPIPE
,BPEIOERR
,BPENOFILE
bpipe_strerror
returns a character string which describes
the passed BPipe
error code. The passed string is static,
so don't try to overwrite it.
A pointer to a character string.