mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-09 15:26:04 +00:00
Fixed up all references to zmq_msg_size
This commit is contained in:
parent
6b2ec366b1
commit
07b49ffb9c
@ -9,7 +9,7 @@ zmq_msg_size - retrieve message content size in bytes
|
||||
|
||||
SYNOPSIS
|
||||
--------
|
||||
*size_t zmq_msg_size (zmq_msg_t '*msg');*
|
||||
*ssize_t zmq_msg_size (zmq_msg_t '*msg');*
|
||||
|
||||
|
||||
DESCRIPTION
|
||||
@ -29,7 +29,15 @@ message content in bytes.
|
||||
|
||||
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
|
||||
@ -44,5 +52,5 @@ linkzmq:zmq[7]
|
||||
|
||||
AUTHORS
|
||||
-------
|
||||
This 0MQ manual page was written by Martin Sustrik <sustrik@250bpm.com> and
|
||||
Martin Lucina <mato@kotelna.sk>.
|
||||
This 0MQ manual page was written by Martin Sustrik <sustrik@250bpm.com>,
|
||||
Martin Lucina <mato@kotelna.sk>, and Pieter Hintjens <ph@imatix.com>.
|
||||
|
@ -29,6 +29,7 @@ extern "C" {
|
||||
|
||||
#include <errno.h>
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
#if defined _WIN32
|
||||
#include <winsock2.h>
|
||||
#endif
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
Copyright (c) 2007-2012 iMatix Corporation
|
||||
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
|
||||
|
||||
This file is part of 0MQ.
|
||||
@ -35,7 +35,7 @@
|
||||
#include <pthread.h>
|
||||
#endif
|
||||
|
||||
static size_t message_size;
|
||||
static ssize_t message_size;
|
||||
static int roundtrip_count;
|
||||
|
||||
#if defined ZMQ_HAVE_WINDOWS
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
Copyright (c) 2007-2012 iMatix Corporation
|
||||
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
|
||||
|
||||
This file is part of 0MQ.
|
||||
@ -36,7 +36,7 @@
|
||||
#endif
|
||||
|
||||
static int message_count;
|
||||
static size_t message_size;
|
||||
static ssize_t message_size;
|
||||
|
||||
#if defined ZMQ_HAVE_WINDOWS
|
||||
static unsigned int __stdcall worker (void *ctx_)
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
Copyright (c) 2007-2012 iMatix Corporation
|
||||
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
|
||||
|
||||
This file is part of 0MQ.
|
||||
@ -28,7 +28,7 @@ int main (int argc, char *argv [])
|
||||
{
|
||||
const char *bind_to;
|
||||
int roundtrip_count;
|
||||
size_t message_size;
|
||||
ssize_t message_size;
|
||||
void *ctx;
|
||||
void *s;
|
||||
int rc;
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
Copyright (c) 2007-2012 iMatix Corporation
|
||||
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
|
||||
|
||||
This file is part of 0MQ.
|
||||
@ -28,7 +28,7 @@ int main (int argc, char *argv [])
|
||||
{
|
||||
const char *bind_to;
|
||||
int message_count;
|
||||
size_t message_size;
|
||||
ssize_t message_size;
|
||||
void *ctx;
|
||||
void *s;
|
||||
int rc;
|
||||
|
@ -1,6 +1,6 @@
|
||||
/*
|
||||
Copyright (c) 2007-2012 iMatix Corporation
|
||||
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
|
||||
|
||||
This file is part of 0MQ.
|
||||
@ -29,7 +29,7 @@ int main (int argc, char *argv [])
|
||||
{
|
||||
const char *connect_to;
|
||||
int roundtrip_count;
|
||||
size_t message_size;
|
||||
ssize_t message_size;
|
||||
void *ctx;
|
||||
void *s;
|
||||
int rc;
|
||||
|
Loading…
x
Reference in New Issue
Block a user