10 static void (*sigpipe)(int);
15 const char *program =
getenv(
"GRASS_PAGER");
23 if (!isatty(STDOUT_FILENO))
27 sigpipe = signal(SIGPIPE, SIG_IGN);
32 return fp ? fp : stdout;
41 signal(SIGPIPE, sigpipe);
FILE * G_popen_write(struct Popen *, const char *, const char **)
const char * G_whoami(void)
Gets user's name.
void G_popen_close(struct Popen *)
void G_popen_clear(struct Popen *)