.\" 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_APP" "9" "09 October 2005" "" "" .SH NAME gnet_stats_copy_app \- copy application specific statistics into statistics TLV .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int gnet_stats_copy_app (struct gnet_dump * \fId\fB, void * \fIst\fB, int \fIlen\fB); \fR .SH "ARGUMENTS" .TP \fB\fId\fB\fR dumping handle .TP \fB\fIst\fB\fR application specific statistics data .TP \fB\fIlen\fB\fR length of data .SH "DESCRIPTION" .PP Appends the application sepecific statistics to the top level TLV created by \fBgnet_stats_start_copy\fR and remembers the data for XSTATS if the dumping handle is in backward compatibility mode. .PP Returns 0 on success or -1 with the statistic lock released if the room in the socket buffer was not sufficient.