strings.c File Reference

#include <sys/types.h>
#include <string.h>
#include <stdlib.h>
#include "gis.h"

Include dependency graph for strings.c:

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)


Define Documentation

#define NULL   0

Definition at line 63 of file strings.c.

Referenced by cleanse_string(), 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__oldsite_get(), G__open(), G__open_cell_old(), G__projection_name(), G__quant_get_rule_for_d_raster_val(), G__read_Cell_head(), G__set_gisrc_file(), G__temp_element(), G__unit_name(), G__write_cats(), G_adjust_Cell_head(), G_adjust_Cell_head3(), G_alloc_site_xyz(), G_ask_any(), G_ask_datum_name(), G_ask_datum_params(), 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_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_done_msg(), G_ellipsoid_description(), G_ellipsoid_name(), G_find_key_value(), G_fopen_support_new(), G_fopen_support_old(), 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_datum_parameters(), 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_malloc(), G_mapset(), G_number_of_tokens(), G_oldsite_describe(), 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_readsites(), G_readsites_xyz(), G_realloc(), G_recreate_command(), G_rindex(), G_set_d_raster_cat(), G_set_key_value(), G_set_raster_cats_title(), G_site_format(), G_site_new_struct(), 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(), G_write_key_value_file(), G_zlib_compress(), G_zlib_expand(), G_zlib_read(), G_zlib_write(), G_zlib_write_noCompress(), next_att(), and time_ltp().


Function Documentation

char* G_chrcat ( char *  T,
const char *  F,
int  n 
)

Definition at line 126 of file strings.c.

References G_chrcpy().

char* G_chrcpy ( char *  T,
const char *  F,
int  n 
)

Definition at line 82 of file strings.c.

Referenced by G_chrcat().

char* G_chrmov ( char *  T,
const char *  F,
int  n 
)

Definition at line 111 of file strings.c.

char* G_str_replace ( char *  buffer,
const char *  old_str,
const char *  new_str 
)

Definition at line 222 of file strings.c.

References count, G_malloc(), G_strdup(), G_strstr(), and NULL.

int G_strcasecmp ( const char *  x,
const char *  y 
)

Definition at line 132 of file strings.c.

Referenced by G_ask_datum_name(), G_ask_datum_params(), 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 
)

Definition at line 120 of file strings.c.

References G_strcpy().

Referenced by G_site_format().

char* G_strchg ( char *  bug,
char  character,
char  new 
)

Definition at line 195 of file strings.c.

char* G_strcpy ( char *  T,
const char *  F 
)

Definition at line 73 of file strings.c.

Referenced by G_datum_parameters(), G_site_format(), and G_strcat().

char* G_strdup ( const char *  string  ) 

Definition at line 181 of file strings.c.

References NULL.

Referenced by G_str_replace().

char* G_strmov ( char *  T,
const char *  F 
)

Definition at line 102 of file strings.c.

char* G_strncpy ( char *  T,
const char *  F,
int  n 
)

Definition at line 92 of file strings.c.

Referenced by G__oldsite_get().

char* G_strstr ( char *  mainString,
const char *  subString 
)

Definition at line 156 of file strings.c.

References NULL.

Referenced by G_oldsite_describe(), and G_str_replace().


Generated on Mon Jan 1 19:49:41 2007 for GRASS by  doxygen 1.5.1