1. 程式人生 > >ZeroMQ介面函式之 :zmq_version – 返回ZMQ連結庫的版本

ZeroMQ介面函式之 :zmq_version – 返回ZMQ連結庫的版本

zmq_version(3)          ØMQ Manual - ØMQ/4.1.0

Name

zmq_version – 返回ZMQ連結庫的版本

Synopsis

void zmq_version (int *major, int *minor, int *patch);

Description

zmq_version()函式會將ZMQ庫中對應的版本號填到引數major、minor和patch指定的儲存空間中。

這個函式用來提供給想使用ZMQ動態連結庫的應用程式或者語言,以確定使用使用這個版本。

Return value

沒有返回值。

Errors

沒有定義錯誤程式碼。

Example

  輸出ZMQ連結庫的版本。

int major, minor, patch;

zmq_version (&major, &minor, &patch); printf ("Current ØMQ version is %d.%d.%d\n", major, minor, patch);

See also

zmq(7)

Authors

This page was written by the ØMQ community. To make a change please read the ØMQ Contribution Policy at http://www.zeromq.org/docs:contributing.

Web site design and content is copyright (c) 2007-2012 iMatix Corporation. Contact us for professional support. Site content licensed under the Creative Commons Attribution-Share Alike 3.0 License. ØMQ is copyright (c) Copyright (c) 2007-2012 iMatix Corporation and Contributors. ØMQ is free software licensed under the LGPL. ØMQ, ZeroMQ, and 0MQ are trademarks of iMatix Corporation. Terms of Use — Privacy Policy

翻譯:風波

mail : [email protected]