This is Unofficial EPICS BASE Doxygen Site
osdStdio.c
Go to the documentation of this file.
1 /*************************************************************************\
2 * Copyright (c) 2002 The University of Chicago, as Operator of Argonne
3 * National Laboratory.
4 * Copyright (c) 2002 The Regents of the University of California, as
5 * Operator of Los Alamos National Laboratory.
6 * EPICS BASE Versions 3.13.7
7 * and higher are distributed subject to a Software License Agreement found
8 * in file LICENSE that is included with this distribution.
9 \*************************************************************************/
10 
11 #include <osiUnistd.h>
12 #include <epicsStdio.h>
13 
14 LIBCOM_API int epicsStdCall epicsSnprintf(
15  char *str, size_t size, const char *format, ...)
16 {
17  int nchars;
18  va_list pvar;
19 
20  va_start(pvar,format);
21  nchars = epicsVsnprintf(str,size,format,pvar);
22  va_end (pvar);
23  return(nchars);
24 }
25 
26 LIBCOM_API int epicsStdCall epicsVsnprintf(
27  char *str, size_t size, const char *format, va_list ap)
28 {
29  return vsnprintf ( str, size, format, ap );
30 }
#define str(v)
LIBCOM_API int epicsStdCall epicsSnprintf(char *str, size_t size, const char *format,...)
Definition: osdStdio.c:14
LIBCOM_API int epicsStdCall epicsVsnprintf(char *str, size_t size, const char *format, va_list ap)
Definition: osdStdio.c:26
int vsnprintf(char *str, size_t size, const char *format, va_list ap)