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

  
 
  

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

NAME
     JAM_CloseMB - Close message base

SYNOPSIS
     #include <jamlib/jam.h>

     int JAM_CloseMB(s_JamBase* Base_PS);

DESCRIPTION
     Unlocks (if locked) and closes the currently open message base.

   Arguments
     Base_PS
	    The  message  base to close. Note, that you must free(3) this memory
	    upon successful messagebase closing.

RETURN VALUE
     0	    if successful

     JAM_IO_ERROR
	    if an I/O error occured. see JAM_Errno(3)

     JAM_LOCK_FAILED
	    if the message base could not be unlocked

EXAMPLES
     int Result_I;

     Result_I = JAM_CloseMB(Base_PS);
     if ( Result_I )
       printf("JAM_CloseMB returned %d.\n", Result_I);

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), JAM_OpenMB(3), JAM_CreateMB(3), JAM_Errno(3)

				   2002-11-07			  JAM_CloseMB(3)

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

home | help