# MKLGetVersionString

Gets the library version string.

## Syntax

Fortran:

call MKLGetVersionString( buf )

C:

MKLGetVersionString( char* buf, int len );

## Output Parameters

Name | Type | Description
--- | --- | ---
buf | FORTRAN: CHARACTER*198 C: char* | Source string
len | FORTRAN: INTEGER C: int | Length of the source string

## Description

This function returns a string that contains the library version information.

See example below:

## Examples

Fortran:

  program getversionstring

  character*198 buf

  call mklgetversionstring(buf)

  write(*,'(a)') buf

  end

C:

  #include <stdio.h>

  #include "mkl_blas.h"

  int main(void)

  {

  int len=198;

  char buf[198];

  MKLGetVersionString(buf, len);

  printf("%s\n",buf);

  printf("\n");

  return 0;

  }

Parent topic: Version Information Functions