GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-e5379bbd7
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