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

FreeBSD Manual Pages

  
 
  

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 sta-
       tus 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 Jo-
       han Billing <billing@df.lth.se>.

SEE ALSO
       jamlib(3), errno(3)

				  2002-11-07			  JAM_Errno(3)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | EXAMPLES | AUTHOR | SEE ALSO

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

home | help