src/dbapi/driver/ftds8/freetds/tds/asprintf.c File Reference

#include <tds_config.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <unistd.h>
#include <string.h>
#include <sys/mman.h>
#include <setjmp.h>
#include <signal.h>
#include <assert.h>

Include dependency graph for asprintf.c:

Go to the source code of this file.

Defines

#define _SC_PAGE_SIZE   _SC_PAGESIZE

Functions

static void sigsegv (int sig)
int vasprintf (char **ret, const char *fmt, va_list ap)
int asprintf (char **ret, const char *fmt,...)

Variables

static char software_version [] = "$Id: asprintf.c 52027 2004-12-14 20:46:24Z ssikorsk $"
static void * no_unused_var_warn []
static jmp_buf env


Define Documentation

#define _SC_PAGE_SIZE   _SC_PAGESIZE
 

Referenced by vasprintf().


Function Documentation

int asprintf char **  ret,
const char *  fmt,
  ...
 

Definition at line 202 of file asprintf.c.

References vasprintf().

Referenced by _bcp_err_handler(), _cs_get_msgstr(), _ct_get_msgstr(), _SQLAllocStmt(), _SQLGetDiagRec(), dbclropt(), dbsetopt(), tdoGetIniFileName(), tds_config_env_tdsdump(), tds_get_home_file(), tds_open_socket(), tds_read_conf_file(), tds_read_config_info(), and tdsdbopen().

static void sigsegv int  sig  )  [static]
 

Definition at line 42 of file asprintf.c.

References env.

int vasprintf char **  ret,
const char *  fmt,
va_list  ap
 

Definition at line 121 of file asprintf.c.

References _SC_PAGE_SIZE, buf, CHUNKSIZE, len, and vsnprintf.


Variable Documentation

jmp_buf env [static]
 

Definition at line 39 of file asprintf.c.

Referenced by _SQLAllocConnect(), _SQLAllocEnv(), _SQLFreeEnv(), AddFunc_Arg(), CNcbiTestApplication::AdjustTestTimeout(), BDB_CreateEnv(), BDB_ParseQuery(), BisonSaveStageResult(), BOOST_AUTO_UNIT_TEST(), CAutoEnvironmentVariable::CAutoEnvironmentVariable(), CBDB_FileCursor::CBDB_FileCursor(), CCgiRequest::CCgiRequest(), GetSybaseClientVersion(), CQueueDbBlockArray::Init(), CBDB_SplitTest::LoadTestSet(), ncbi_q_parse(), odbc_connect(), SQueueDbBlock::Open(), CQueryParseTree::Parse(), QTreeAddNode(), CSoapMessage::Read(), impl::CDriverContext::ResetEnvSybase(), CExec::ResolvePath(), CBDBEnvKeeperApp::Run(), s_SeqDB_FindBlastDBPath(), CCgiRequest::Serialize(), CBDB_RawFile::SetEnv(), CBDB_BlobSplitStore< BV, CBDB_BlobDeMuxPersistent, TL >::SetEnv(), CBDB_ExtBlobStore< TBV >::SetEnv(), CBDB_BlobDictStore< Key, Dictionary, Store >::SetEnv(), sigsegv(), sx_InitFillNewMemoryMode(), tds_alloc_env(), tds_process_env_chg(), tds_save_env(), SQueueDbBlock::Truncate(), CSoapMessage::Write(), CSoapMessage::x_Check(), CRemoteAppJob::x_GetEnv(), CCgiRequest::x_Init(), CDisplaySeqalign::x_IsGeneInfoAvailable(), CNcbiTestApplication::x_SetupBoostReporters(), and CAutoEnvironmentVariable::~CAutoEnvironmentVariable().

void* no_unused_var_warn[] [static]
 

Initial value:

Definition at line 35 of file asprintf.c.

char software_version[] = "$Id: asprintf.c 52027 2004-12-14 20:46:24Z ssikorsk $" [static]
 

Definition at line 34 of file asprintf.c.


Generated on Mon Mar 16 00:33:23 2009 for NCBI C++ ToolKit by  doxygen 1.4.6
Modified on Mon Mar 16 12:50:46 2009 by modify_doxy.py rev. 117643