asmakeerror - 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  vali­
       dation is done on the values of the individual fields, nor
       of the resulting error code.


NOTES

       asmakeerror is defined in the library  "libarray.so",  and
       will  be loaded if the option "-larray" is used with cc(1)
       or ld(1).


SEE ALSO

       aserrorcode(3X), array_sessions(5).


Man(1) output converted with man2html