librpipVersionStr

void librpipVersionStr(char* version, int len);

Description

This function returns the version of librpip in use as a string.

Parameters

  • char* version
    A pointer to a char array to hold the version.
  • int len
    the length of the char array. If len is less than the version string only len characters will be put into the array.

Returns

Nothing

Example

Get and print the librpip version.

char ver[20];
librpipVersionStr(&ver[0],sizeof(ver));
fprintf(stdout,"The librpip version is: %s",ver);