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

FreeBSD Manual Pages

  
 
  

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

NAME
       JAM_ReadLastRead	- Read a lastread record

SYNOPSIS
       #include	<jamlib/jam.h>

       int JAM_ReadLastRead(s_JamBase*	   Base_PS,
			    ulong	   User_I,
			    s_JamLastRead* Record_PS);

DESCRIPTION
       Reads a lastread	record from the	lastread file.

   Arguments
       Base_PS
	      The message base to use

       User_I A	system-unique user number.

       Record_PS
	      A	 pointer  to  the  lastread  struct  where  the	record will be
	      stored.

RETURN VALUE
       0      if successful

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

       JAM_BAD_PARAM
	      if Record_PS is NULL

       JAM_NO_USER
	      if the user number was not found

EXAMPLES
       int	     Result_I;
       s_JamLastRead LastRead_S;

       Result_I	= JAM_ReadLastRead( Base_PS, 4711, &LastRead_S);
       if (Result_I)
	 printf("JAM_ReadLastRead 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 Jo-
       han Billing <billing@df.lth.se>.

SEE ALSO
       jamlib(3), JAM_WriteLastRead(3) JAM_Errno(3)

				  2002-11-07		   JAM_ReadLastRead(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_ReadLastRead&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help