#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <unistd.h>
#include <assert.h>
#include <grass/gis.h>

Go to the source code of this file.
Functions | |
| int | G_snprintf (char *str, size_t size, const char *fmt,...) |
| snprintf() clone. | |
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file snprintf.c.
| int G_snprintf | ( | char * | str, | |
| size_t | size, | |||
| const char * | fmt, | |||
| ... | ||||
| ) |
snprintf() clone.
Note: The use of snprintf()/G_snprintf() is discouraged in favour of calculating how long the string will be and allocating enough memory!
| [in] | str | input string |
| [in] | size | length of string |
| [in] | fmt |
Definition at line 45 of file snprintf.c.
1.5.6