GRASS Programmer's Manual
6.5.svn(2014)-r66266
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
•
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 */
count
int count
G_snprintf
int G_snprintf(char *str, size_t size, const char *fmt,...)
snprintf() clone.
Definition:
snprintf.c:45
tools.size
tuple size
value.Bind(wx.EVT_TEXT, self.OnVolumeIsosurfMap)
Definition:
tools.py:2334
lib
gis
snprintf.c
Generated on Sat Jan 2 2016 01:46:49 for GRASS Programmer's Manual by
1.8.5