码迷,mamicode.com
首页 > 其他好文 > 详细

ZeroMQ接口函数之 :zmq_version – 返回ZMQ链接库的版本

时间:2015-01-23 17:52:16      阅读:160      评论:0      收藏:0      [点我收藏+]

标签:

ZeroMQ 官方地址 :http://api.zeromq.org/4-2:zmq_version

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

 

更多 ZeroMQ API :http://www.cnblogs.com/fengbohello/p/4230135.html 

 

翻译:风波

mail : fengbohello@qq.com

 

ZeroMQ接口函数之 :zmq_version – 返回ZMQ链接库的版本

标签:

原文地址:http://www.cnblogs.com/fengbohello/p/4244453.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!