.\" 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_BASIC" "9" "09 October 2005" "" ""
.SH NAME
gnet_stats_copy_basic \- copy basic statistics into statistic TLV
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int gnet_stats_copy_basic (struct gnet_dump * \fId\fB, struct gnet_stats_basic * \fIb\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fId\fB\fR
dumping handle
.TP
\fB\fIb\fB\fR
basic statistics
.SH "DESCRIPTION"
.PP
Appends the basic 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.