xnvme_ver¶
Header¶
#ifndef __LIBXNVME_VER_H
#define __LIBXNVME_VER_H
#include <libxnvme.h>
/**
* Produces the "major" version of the library
*
* @return On success, the "major" version of the library is returned
*/
int
xnvme_ver_major(void);
/**
* Produces the "minor" version of the library
*
* @return On success, the "minor" version of the library is returned
*/
int
xnvme_ver_minor(void);
/**
* Produces the "patch" version of the library
*
* @return On success, the "patch" version of the library is returned
*/
int
xnvme_ver_patch(void);
/**
* Prints the library version to the given 'stream'
*
* @param stream output stream used for printing
* @param opts printer options, see ::xnvme_pr
*
* @return On success, the number of characters printed is returned.
*/
int
xnvme_ver_fpr(FILE *stream, int opts);
/**
* Prints the library version to stdout
*
* @param opts printer options, see ::xnvme_pr
*
* @return On success, the number of characters printed is returned.
*/
int
xnvme_ver_pr(int opts);
#endif
Enums¶
Structs¶
Functions¶
xnvme_ver_fpr¶
xnvme_ver_major¶
-
int
xnvme_ver_major
(void)¶ Produces the “major” version of the library.
- Return
On success, the “major” version of the library is returned
xnvme_ver_minor¶
-
int
xnvme_ver_minor
(void)¶ Produces the “minor” version of the library.
- Return
On success, the “minor” version of the library is returned