Shows basic packing and unpacking of fields.
#include <stdio.h>
#include <string.h>
#include <wiredtiger.h>
const char *home = "WT_TEST";
int main(void)
{
char buf[50];
size_t size;
int i, j, k, ret;
fprintf(stderr, "Error connecting to %s: %s\n",
if ((ret = conn->
open_session(conn, NULL, NULL, &session)) != 0)
fprintf(stderr, "Error opening a session on %s: %s\n",
if (size > sizeof(buf)) {
}
if ((ret = conn->
close(conn, NULL)) != 0)
fprintf(stderr, "Error connecting to %s: %s\n",
return (ret);
}