'\" t .\" Title: nng_version .\" Author: [see the "AUTHOR(S)" section] .\" Generator: Asciidoctor 2.0.23 .\" Date: 2025-02-02 .\" Manual: NNG Reference Manual .\" Source: \ \& .\" Language: English .\" .TH "NNG_VERSION" "3" "2025-02-02" "\ \&" "NNG Reference Manual" .ie \n(.g .ds Aq \(aq .el .ds Aq ' .ss \n[.ss] 0 .nh .ad l .de URL \fI\\$2\fP <\\$1>\\$3 .. .als MTO URL .if \n[.g] \{\ . mso www.tmac . am URL . ad l . . . am MTO . ad l . . . LINKSTYLE blue R < > .\} .SH "NAME" nng_version \- report library version .SH "SYNOPSIS" .sp .if n .RS 4 .nf .fam C #include <nng/nng.h> const char * nng_version(void); .fam .fi .if n .RE .SH "DESCRIPTION" .sp The \f(CRnng_version()\fP function returns a human readable version number for \fINNG\fP. .sp Additionally, compile time version information is available via some predefined macros: .sp \f(CRNNG_MAJOR_VERSION\fP .RS 4 Major version number. .RE .sp \f(CRNNG_MINOR_VERSION\fP .RS 4 Minor version number. .RE .sp \f(CRNNG_PATCH_VERSION\fP .RS 4 Patch version number. .RE .sp \fINNG\fP is developed and released using .URL "http://www.semver.org" "Semantic Versioning 2.0" "," and the version numbers reported refer to both the API and the library itself. (The ABI \(em application binary interface \(em between the library and the application is controlled in a similar, but different manner depending upon the link options and how the library is built.) .SH "RETURN VALUES" .sp Null\-terminated string containing the library version number. .SH "ERRORS" .sp None. .SH "SEE ALSO" .sp libnng(3), nng(7)