GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-36359e2344
nl_to_spaces.c
Go to the documentation of this file.
1 #include <grass/gis.h>
2 
3 void G_newlines_to_spaces(char *s)
4 {
5  while (*s) {
6  if (*s == '\n')
7  *s = ' ';
8  s++;
9  }
10 }
void G_newlines_to_spaces(char *s)
Definition: nl_to_spaces.c:3