GRASS GIS 8 Programmer's Manual  8.2.2dev(2023)-3d2c704037
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