Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
0efb49f1
Commit
0efb49f1
authored
Feb 16, 2012
by
Pieter Hintjens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed up all references to zmq_msg_size
parent
02b81d42
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
23 additions
and
14 deletions
+23
-14
zmq_msg_size.txt
doc/zmq_msg_size.txt
+12
-4
zmq.h
include/zmq.h
+1
-0
inproc_lat.cpp
perf/inproc_lat.cpp
+2
-2
inproc_thr.cpp
perf/inproc_thr.cpp
+2
-2
local_lat.cpp
perf/local_lat.cpp
+2
-2
local_thr.cpp
perf/local_thr.cpp
+2
-2
remote_lat.cpp
perf/remote_lat.cpp
+2
-2
No files found.
doc/zmq_msg_size.txt
View file @
0efb49f1
...
@@ -9,7 +9,7 @@ zmq_msg_size - retrieve message content size in bytes
...
@@ -9,7 +9,7 @@ zmq_msg_size - retrieve message content size in bytes
SYNOPSIS
SYNOPSIS
--------
--------
*size_t zmq_msg_size (zmq_msg_t '*msg');*
*s
s
ize_t zmq_msg_size (zmq_msg_t '*msg');*
DESCRIPTION
DESCRIPTION
...
@@ -29,7 +29,15 @@ message content in bytes.
...
@@ -29,7 +29,15 @@ message content in bytes.
ERRORS
ERRORS
------
------
No errors are defined.
The _zmq_msg_size()_ function shall return a positive integer (0 or higher)
if successful. Otherwise it shall return `-1` and set 'errno' to one of the
values defined below.
ERRORS
------
*EFAULT*::
The provided 'msg' was NULL.
SEE ALSO
SEE ALSO
...
@@ -44,5 +52,5 @@ linkzmq:zmq[7]
...
@@ -44,5 +52,5 @@ linkzmq:zmq[7]
AUTHORS
AUTHORS
-------
-------
This 0MQ manual page was written by Martin Sustrik <sustrik@250bpm.com>
and
This 0MQ manual page was written by Martin Sustrik <sustrik@250bpm.com>
,
Martin Lucina <mato@kotelna.sk>.
Martin Lucina <mato@kotelna.sk>
, and Pieter Hintjens <ph@imatix.com>
.
include/zmq.h
View file @
0efb49f1
...
@@ -29,6 +29,7 @@ extern "C" {
...
@@ -29,6 +29,7 @@ extern "C" {
#include <errno.h>
#include <errno.h>
#include <stddef.h>
#include <stddef.h>
#include <stdio.h>
#if defined _WIN32
#if defined _WIN32
#include <winsock2.h>
#include <winsock2.h>
#endif
#endif
...
...
perf/inproc_lat.cpp
View file @
0efb49f1
/*
/*
Copyright (c) 2007-2012 iMatix Corporation
Copyright (c) 2009-2011 250bpm s.r.o.
Copyright (c) 2009-2011 250bpm s.r.o.
Copyright (c) 2007-2009 iMatix Corporation
Copyright (c) 2007-2011 Other contributors as noted in the AUTHORS file
Copyright (c) 2007-2011 Other contributors as noted in the AUTHORS file
This file is part of 0MQ.
This file is part of 0MQ.
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
#include <pthread.h>
#include <pthread.h>
#endif
#endif
static
size_t
message_size
;
static
s
s
ize_t
message_size
;
static
int
roundtrip_count
;
static
int
roundtrip_count
;
#if defined ZMQ_HAVE_WINDOWS
#if defined ZMQ_HAVE_WINDOWS
...
...
perf/inproc_thr.cpp
View file @
0efb49f1
/*
/*
Copyright (c) 2007-2012 iMatix Corporation
Copyright (c) 2009-2011 250bpm s.r.o.
Copyright (c) 2009-2011 250bpm s.r.o.
Copyright (c) 2007-2009 iMatix Corporation
Copyright (c) 2007-2011 Other contributors as noted in the AUTHORS file
Copyright (c) 2007-2011 Other contributors as noted in the AUTHORS file
This file is part of 0MQ.
This file is part of 0MQ.
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
#endif
#endif
static
int
message_count
;
static
int
message_count
;
static
size_t
message_size
;
static
s
s
ize_t
message_size
;
#if defined ZMQ_HAVE_WINDOWS
#if defined ZMQ_HAVE_WINDOWS
static
unsigned
int
__stdcall
worker
(
void
*
ctx_
)
static
unsigned
int
__stdcall
worker
(
void
*
ctx_
)
...
...
perf/local_lat.cpp
View file @
0efb49f1
/*
/*
Copyright (c) 2007-2012 iMatix Corporation
Copyright (c) 2009-2011 250bpm s.r.o.
Copyright (c) 2009-2011 250bpm s.r.o.
Copyright (c) 2007-2009 iMatix Corporation
Copyright (c) 2007-2011 Other contributors as noted in the AUTHORS file
Copyright (c) 2007-2011 Other contributors as noted in the AUTHORS file
This file is part of 0MQ.
This file is part of 0MQ.
...
@@ -28,7 +28,7 @@ int main (int argc, char *argv [])
...
@@ -28,7 +28,7 @@ int main (int argc, char *argv [])
{
{
const
char
*
bind_to
;
const
char
*
bind_to
;
int
roundtrip_count
;
int
roundtrip_count
;
size_t
message_size
;
s
s
ize_t
message_size
;
void
*
ctx
;
void
*
ctx
;
void
*
s
;
void
*
s
;
int
rc
;
int
rc
;
...
...
perf/local_thr.cpp
View file @
0efb49f1
/*
/*
Copyright (c) 2007-2012 iMatix Corporation
Copyright (c) 2009-2011 250bpm s.r.o.
Copyright (c) 2009-2011 250bpm s.r.o.
Copyright (c) 2007-2009 iMatix Corporation
Copyright (c) 2007-2011 Other contributors as noted in the AUTHORS file
Copyright (c) 2007-2011 Other contributors as noted in the AUTHORS file
This file is part of 0MQ.
This file is part of 0MQ.
...
@@ -28,7 +28,7 @@ int main (int argc, char *argv [])
...
@@ -28,7 +28,7 @@ int main (int argc, char *argv [])
{
{
const
char
*
bind_to
;
const
char
*
bind_to
;
int
message_count
;
int
message_count
;
size_t
message_size
;
s
s
ize_t
message_size
;
void
*
ctx
;
void
*
ctx
;
void
*
s
;
void
*
s
;
int
rc
;
int
rc
;
...
...
perf/remote_lat.cpp
View file @
0efb49f1
/*
/*
Copyright (c) 2007-2012 iMatix Corporation
Copyright (c) 2009-2011 250bpm s.r.o.
Copyright (c) 2009-2011 250bpm s.r.o.
Copyright (c) 2007-2009 iMatix Corporation
Copyright (c) 2007-2011 Other contributors as noted in the AUTHORS file
Copyright (c) 2007-2011 Other contributors as noted in the AUTHORS file
This file is part of 0MQ.
This file is part of 0MQ.
...
@@ -29,7 +29,7 @@ int main (int argc, char *argv [])
...
@@ -29,7 +29,7 @@ int main (int argc, char *argv [])
{
{
const
char
*
connect_to
;
const
char
*
connect_to
;
int
roundtrip_count
;
int
roundtrip_count
;
size_t
message_size
;
s
s
ize_t
message_size
;
void
*
ctx
;
void
*
ctx
;
void
*
s
;
void
*
s
;
int
rc
;
int
rc
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment