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

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 APIhttp://www.cnblogs.com/fengbohello/p/4230135.html

 

翻译:风波

mail : fengbohello@qq.com

 


作  者:fengbohello
个人网站:http://www.fengbohello.top/
E-mail : fengbohello@foxmail.com
欢迎转载,转载请注明作者和出处。
因作者水平有限,不免出现遗漏和错误。希望热心的同学能够帮我指出来,我会尽快修改。愿大家共同进步,阿里嘎多~

posted @ 2015-01-23 16:05  fengbohello  阅读(1678)  评论(0编辑  收藏  举报