asmakeerror(3x)asmakeerror(3x)NAMEasmakeerror - generate an array services error code
SYNOPSIS
#include <arraysvcs.h>
aserror_t asmakeerror(int errno, int what, int why, int extra);
DESCRIPTION
The asmakeerror function is used to combine the various fields of an
array services error code, specified by errno, what, why, and extra, into
a single value. This is the sort of value that is contained in the
global variable aserrorcode.
The specific values that are typcially stored in these fields are
described in the file <arraysvcs.h>. No validation is done on the values
of the individual fields, nor of the resulting error code.
NOTESasmakeerror is defined in the library "libarray.so", and will be loaded
if the option "-larray" is used with cc(1) or ld(1).
SEE ALSOaserrorcode(3X), array_sessions(5).
Page 1