DragonFly On-Line Manual Pages
SP_POLL(3) User Manuals SP_POLL(3)
NAME
SP_version - returns the three component version number of the Spread
library
SYNOPSIS
#include <sp.h>
int SP_version( int *major_version,int *minor_version,int
*patch_version);
DESCRIPTION
SP_version is a way to retrieve the current version of the Spread
library that is linked with the client application. This may not be the
same version number as the daemon that the client connects to. This
function does not require any network communication.
RETURN VALUES
Returns 0 if the parameters are invalid pointers, or returns one and
sets the parameters to appropriate version numbers if they are valid.
BUGS
None.
AUTHOR
Yair Amir <yairamir@cnds.jhu.edu>
Jonathan Stanton <jonathan@cnds.jhu.edu>
SEE ALSO
libspread(3)
SPREAD JULY 2005 SP_POLL(3)