GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> VXW / V7-2-0 > vxw_tornado / rad750


Interface   Data Structures   File List   Data Fields   Globals  

fioLibX.h File Reference

Add the snprintf and vsnprintf functions to fioLib. More...

#include "vxWorks.h"
#include "fioLib.h"

Functions

int snprintf (char *buf, int siz, const char *fmt,...)
 Implement the standard snprintf() routine with VxWorks tools.
int vsnprintf (char *buf, int siz, const char *fmt, va_list list)
 Implement the standard vsnprintf() routine with VxWorks tools.


Detailed Description

Add the snprintf and vsnprintf functions to fioLib.

CVS $Id: fioLibX.h,v 1.1 2003/08/27 18:45:03 apw Exp $

Author:
A.P.Waite - apw@slac.stanford.edu
The "standard" I/O routines snprintf and vsnprintf are mysteriously missing from the VxWorks distribution. They can however be built out of the tools VxWorks provides. These are the header file defintions.

Function Documentation

int snprintf ( char *  buf,
int  siz,
const char *  fmt,
  ... 
)

Implement the standard snprintf() routine with VxWorks tools.

Parameters:
buf (in) Pointer to current location in output buffer
siz (in) Size remaining in output buffer
fmt (in) Formatting string
VxWorks does not provide a snprintf() entry point, but a substitute can be constructed using VxWorks provided tools. This is it.

int vsnprintf ( char *  buf,
int  siz,
const char *  fmt,
va_list  list 
)

Implement the standard vsnprintf() routine with VxWorks tools.

Parameters:
buf (in) Pointer to current location in output buffer
siz (in) Size remaining in output buffer
fmt (in) Formatting string
list (in) Varaible argument list description
VxWorks does not provide a vsnprintf() entry point, but a substitute can be constructed using VxWorks provided tools. This is it.


Generated on Fri Jul 24 11:32:08 2009 by  doxygen 1.5.3