.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "GNET_STATS_COPY_QUEUE" "9" "09 October 2005" "" ""
.SH NAME
gnet_stats_copy_queue \- copy queue statistics into statistics TLV
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int gnet_stats_copy_queue (struct gnet_dump * \fId\fB, struct gnet_stats_queue * \fIq\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fId\fB\fR
dumping handle
.TP
\fB\fIq\fB\fR
queue statistics
.SH "DESCRIPTION"
.PP
Appends the queue statistics to the top level TLV created by
\fBgnet_stats_start_copy\fR\&.
.PP
Returns 0 on success or -1 with the statistic lock released
if the room in the socket buffer was not sufficient.