GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
JAM_WriteLastRead(3) JAM subroutine library JAM_WriteLastRead(3)

JAM_WriteLastRead - Write a lastread record

#include <jamlib/jam.h>
int JAM_WriteLastRead(s_JamBase*     Base_PS,
                      ulong          User_I,
                      s_JamLastRead* Record_PS);

Writes a lastread record to the lastread file. If the user number could not be found, the record will be appended to the end of the file.

Base_PS
The message base to use
User_I
A system-unique user number
Record_PS
A pointer to the lastread struct to be written

0
if successful
JAM_IO_ERROR
if an I/O error occured. See JAM_Errno(3)
JAM_BAD_PARAM
if Record_PS is NULL

int           Result_I;
s_JamLastRead LastRead_S;
Result_I = JAM_WriteLastRead(Base_PS, 4711, &LastRead_S);
if (Result_I)
  printf("JAM_WriteLastRead returned %d\n", Result_I);

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

jamlib(3), JAM_ReadLastRead(3) JAM_Errno(3)
2002-11-07

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.