.\" This manpage is Copyright (C) 2016 MongoDB, Inc. .\" .\" Permission is granted to copy, distribute and/or modify this document .\" under the terms of the GNU Free Documentation License, Version 1.3 .\" or any later version published by the Free Software Foundation; .\" with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. .\" A copy of the license is included in the section entitled "GNU .\" Free Documentation License". .\" .TH "BSON_STRNCPY" "3" "2016\(hy10\(hy12" "libbson" .SH NAME bson_strncpy() \- Copies up to size bytes from src into dst. dst must be at least size bytes in size. A trailing \0 will be set. .SH "SYNOPSIS" .nf .nf void bson_strncpy (char *dst, const char *src, size_t size); .fi .fi .SH "PARAMETERS" .TP .B .B dst The destination buffer. .LP .TP .B .B src The src buffer. .LP .TP .B .B size The number of bytes to copy into dst, which must be at least that size. .LP .SH "DESCRIPTION" Copies up to .B size bytes from .B src into .B dst . .B dst must be at least .B size bytes in size. A trailing .B \0 will be set. .B .SH COLOPHON This page is part of libbson. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.