BSON_STRNCPY(3)

NAME
bson_strncpy()

SYNOPSIS
void
bson_strncpy (char       *dst,
              const char *src,
              size_t      size);

PARAMETERS

.B dst
    The destination buffer.

.B src
    The src buffer.

.B size
    The number of bytes to copy into dst, which must be at least that size.

DESCRIPTION
Copies up to size bytes from src into dst . dst must be at least size bytes in size. A trailing will be set.

COLOPHON
This page is part of libbson. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.