Create db_writeptr.c