Logo Search packages:      
Sourcecode: dbtcp version File versions  Download package

my_error.c

/******************************************************************************
Routine per la stampa degli errori
 *****************************************************************************/

#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>

#include <define.h>
#include <dbug.h>

int dbftp_error ( char *buffer, int len, char *format, ... )
{
  va_list args;

  DBUG_ENTER ( "dbftp_error" );

  va_start ( args, format );
  vsnprintf ( buffer, (size_t)len, format, args );
  va_end ( args );

  DBUG_RETURN ( OK );
  return ( OK );
}

Generated by  Doxygen 1.6.0   Back to index