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

  
 
  

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

NAME
     JAM_GetMBSize - Get the number of messages in message base

SYNOPSIS
     #include <jamlib/jam.h>

     int JAM_GetMBSize(s_JamBase* Base_PS,
		       ulong*	  Messages_PI);

DESCRIPTION
     Finds  out  the  number  of messages (deleted and undeleted) in the message
     base.

   Arguments
     Base_PS
	    The message base to use

     Messages_PI
	    A pointer to a variable where the number of messages will be stored.

RETURN VALUE
     0	    if successful

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

EXAMPLES
     int   Result_I;
     ulong Size_I;

     Result_I = JAM_GetMBSize(Base_PS, &Size_I);
     if (Result_I)
       printf("JAM_GetMBSize 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_Errno(3)

				   2002-11-07			JAM_GetMBSize(3)

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

home | help