Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
JAM_Errno(3)		     JAM subroutine library		    JAM_Errno(3)

NAME
     JAM_Errno - Specify I/O error

SYNOPSIS
     #include <jamlib/jam.h>

     int JAM_Errno(s_JamBase* Base_PS);

DESCRIPTION
     When  any	of these library routines return JAM_IO_ERROR, you can call this
     function to find out exactly what went wrong.

   Arguments
     Base_PS
	    The message base to use

RETURN VALUE
     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).

EXAMPLES
     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");
     }

AUTHOR
     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>.

SEE ALSO
     jamlib(3), errno(3)

				   2002-11-07			    JAM_Errno(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=JAM_Errno&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help