GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
snprintf.c
Go to the documentation of this file.
1 
23 #include <stdio.h>
24 #include <stdlib.h>
25 #include <stdarg.h>
26 #include <unistd.h>
27 #include <assert.h>
28 #include <grass/gis.h>
29 
30 /* #ifdef HAVE_SNPRINTF */
31 
45 int G_snprintf(char *str, size_t size, const char *fmt, ...)
46 {
47  va_list ap;
48  int count;
49 
50  va_start(ap, fmt);
51  count = vsnprintf(str, size, fmt, ap);
52  va_end(ap);
53 
54  return count;
55 }
56 
57 /* #endif */
int count
int G_snprintf(char *str, size_t size, const char *fmt,...)
snprintf() clone.
Definition: snprintf.c:45
tuple size
value.Bind(wx.EVT_TEXT, self.OnVolumeIsosurfMap)
Definition: tools.py:2334