JAM_Errno - Specify I/O error
#include <jamlib/jam.h>
int JAM_Errno(s_JamBase* Base_PS);
When any of these library routines return JAM_IO_ERROR, you can call this
function to find out exactly what went wrong.
- Base_PS
- The message base to use
Standard ´errno´ values, as the C compiler generated them, or if
the I/O error was system specific, the return code is (10000 + system status
code).
int Result_I;
uchar Text_AC[10];
/* generate an I/O error */
Result_I = JAM_ReadMsgText(0xffffffff, 10, Text_AC);
if (Result_I) {
errno = JAM_Errno(Base_PS);
perror("JAM I/O error");
}
This manual page was created by Sir Raorn <raorn@altlinux.ru>, based on
original JAMlib documentation by Bjorn Stenberg <bjorn@haxx.nu> and
Johan Billing <billing@df.lth.se>.