libxnvme_ver.h#

Functions#

xnvme_ver_fpr#

int xnvme_ver_fpr(FILE *stream, int opts)#

Prints the library version to the given ‘stream’.

Parameters:
  • stream – output stream used for printing

  • opts – printer options, see xnvme_pr

Returns:

On success, the number of characters printed is returned.

xnvme_ver_major#

int xnvme_ver_major(void)#

SPDX-FileCopyrightText: Samsung Electronics Co., Ltd.

SPDX-License-Identifier: BSD-3-Clause Produces the “major” version of the library

Returns:

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.

Returns:

On success, the “minor” version of the library is returned

xnvme_ver_patch#

int xnvme_ver_patch(void)#

Produces the “patch” version of the library.

Returns:

On success, the “patch” version of the library is returned

xnvme_ver_pr#

int xnvme_ver_pr(int opts)#

Prints the library version to stdout.

Parameters:
  • opts – printer options, see xnvme_pr

Returns:

On success, the number of characters printed is returned.