#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#include <sys/types.h>
#include <grass/gis.h>
Go to the source code of this file.
Defines | |
#define | NULL 0 |
Functions | |
char * | G_strcpy (char *T, const char *F) |
char * | G_chrcpy (char *T, const char *F, int n) |
char * | G_strncpy (char *T, const char *F, int n) |
char * | G_strmov (char *T, const char *F) |
char * | G_chrmov (char *T, const char *F, int n) |
char * | G_strcat (char *T, const char *F) |
char * | G_chrcat (char *T, const char *F, int n) |
int | G_strcasecmp (const char *x, const char *y) |
char * | G_strstr (char *mainString, const char *subString) |
char * | G_strdup (const char *string) |
char * | G_strchg (char *bug, char character, char new) |
char * | G_str_replace (char *buffer, const char *old_str, const char *new_str) |
int | G_strip (register char *buf) |
char * | G_chop (char *line) |
Chop leading and trailing white spaces: space, , , , , - returns pointer to string. | |
void | G_str_to_upper (char *str) |
Convert string to upper case. | |
void | G_str_to_lower (char *str) |
Convert string to lower case. |
#define NULL 0 |
Definition at line 69 of file strings.c.
Referenced by G__check_fp_type(), G__color_free_rules(), G__create_alt_env(), G__env_name(), G__get_window(), G__lookup_colors(), G__make_location(), G__mapset_name(), G__open(), G__open_cell_old(), G__projection_name(), G__quant_get_rule_for_d_raster_val(), G__read_Cell_head_array(), G__set_gisrc_file(), G__temp_element(), G__unit_name(), G__write_cats(), G_adjust_Cell_head(), G_adjust_Cell_head3(), G_ask_any(), G_ask_datum_name(), G_ask_ellipse_name(), G_ask_in_mapset(), G_ask_new(), G_ask_new_file(), G_ask_old(), G_ask_old_file(), G_ask_proj_name(), G_asprintf(), G_available_mapsets(), G_calloc(), G_check_input_output_name(), G_color_name(), G_compare_projections(), G_create_key_value(), G_database_datum_name(), G_database_units_to_meters_factor(), G_datum_description(), G_datum_ellipsoid(), G_datum_name(), G_debug(), G_define_flag(), G_define_option(), G_ellipsoid_description(), G_ellipsoid_name(), G_find_key_value(), G_fread_key_value(), G_free_histogram(), G_free_raster_cats(), G_free_tokens(), G_get_3dview(), G_get_ask_return_msg(), G_get_cellhd(), G_get_datumparams_from_projinfo(), G_get_ellipsoid_parameters(), G_get_next_marked_d_raster_cat(), G_get_projinfo(), G_get_projunits(), G_get_raster_cat(), G_get_reclass(), G_getenv(), G_getenv2(), G_gishelp(), G_index(), G_init_colors(), G_init_histogram(), G_init_raster_cats(), G_is_reclass(), G_is_reclassed_to(), G_list(), G_malloc(), G_mapset(), G_number_of_tokens(), G_parser(), G_percent2(), G_plot_area(), G_popen(), G_put_3dview(), G_put_reclass(), G_putenv(), G_raster_map_is_fp(), G_raster_map_type(), G_rc_path(), G_read_histogram(), G_read_history(), G_read_key_value_file(), G_read_range(), G_realloc(), G_recreate_command(), G_rindex(), G_set_d_raster_cat(), G_set_key_value(), G_set_raster_cats_title(), G_sock_bind(), G_sock_exists(), G_sock_get_fname(), G_spawn(), G_spawn_ex(), G_str_replace(), G_strdup(), G_strstr(), G_system(), G_tokenize(), G_usage(), G_whoami(), G_write_histogram(), G_write_histogram_cs(), and G_write_key_value_file().
char* G_chop | ( | char * | line | ) |
Chop leading and trailing white spaces: space, ,
, , , - returns pointer to string.
s |
Definition at line 349 of file strings.c.
Referenced by G_str_to_color().
char* G_chrcat | ( | char * | T, | |
const char * | F, | |||
int | n | |||
) |
char* G_chrcpy | ( | char * | T, | |
const char * | F, | |||
int | n | |||
) |
char* G_str_replace | ( | char * | buffer, | |
const char * | old_str, | |||
const char * | new_str | |||
) |
void G_str_to_lower | ( | char * | str | ) |
void G_str_to_upper | ( | char * | str | ) |
int G_strcasecmp | ( | const char * | x, | |
const char * | y | |||
) |
Definition at line 138 of file strings.c.
Referenced by G_ask_datum_name(), G_geo_get_proj_index(), G_get_datum_by_name(), G_get_ellipsoid_by_name(), G_get_spheroid_by_name(), G_info_format(), and G_str_to_color().
char* G_strcat | ( | char * | T, | |
const char * | F | |||
) |
char* G_strcpy | ( | char * | T, | |
const char * | F | |||
) |
char* G_strdup | ( | const char * | string | ) |
Definition at line 188 of file strings.c.
References G_malloc(), and NULL.
Referenced by G_str_replace().
int G_strip | ( | register char * | buf | ) |
Definition at line 302 of file strings.c.
References b.
Referenced by G__check_fp_type(), G__read_cats(), G_ask_datum_name(), G_ask_ellipse_name(), G_ask_proj_name(), G_fread_key_value(), G_get_cell_title(), G_get_dig_title(), G_make_colors(), G_put_cell_title(), G_set_d_raster_cat(), G_set_raster_cats_fmt(), G_set_raster_cats_title(), and G_yes().
char* G_strstr | ( | char * | mainString, | |
const char * | subString | |||
) |