.\" Man page generated from reStructuredText. . .TH "BSON_COPY_TO_EXCLUDING" "3" "Jun 04, 2021" "1.17.6" "libbson" .SH NAME bson_copy_to_excluding \- bson_copy_to_excluding() . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .SH SYNOPSIS .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C void bson_copy_to_excluding (const bson_t *src, bson_t *dst, const char *first_exclude, ...) BSON_GNUC_NULL_TERMINATED BSON_GNUC_DEPRECATED_FOR (bson_copy_to_excluding_noinit); .ft P .fi .UNINDENT .UNINDENT .SH PARAMETERS .INDENT 0.0 .IP \(bu 2 \fBsrc\fP: A \fBbson_t\fP\&. .IP \(bu 2 \fBdst\fP: A \fBbson_t\fP\&. .IP \(bu 2 \fBfirst_exclude\fP: The first field name to exclude. .UNINDENT .SH DESCRIPTION .sp The \fBbson_copy_to_excluding()\fP function shall copy all fields from \fBsrc\fP to \fBdst\fP except those specified by the variadic, NULL terminated list of keys starting from \fBfirst_exclude\fP\&. .SH DEPRECATED .INDENT 0.0 .INDENT 3.5 This function is deprecated. Please use \fBbson_copy_to_excluding_noinit\fP in new code. .UNINDENT .UNINDENT .sp \fBWARNING:\fP .INDENT 0.0 .INDENT 3.5 \fBbson_init\fP is called on \fBdst\fP\&. .UNINDENT .UNINDENT .SH AUTHOR MongoDB, Inc .SH COPYRIGHT 2017-present, MongoDB, Inc .\" Generated by docutils manpage writer. .