PIPS
main_gpips.c File Reference

Go to the source code of this file.

Functions

char * pips_thanks (char *, char *)
 display pips thanks on startup, if it on a tty. More...
 
int gpips_main (int, char **)
 
int main (int argc, char **argv)
 

Function Documentation

◆ gpips_main()

int gpips_main ( int  ,
char **   
)

Referenced by main().

+ Here is the caller graph for this function:

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 42 of file main_gpips.c.

43 {
44  pips_thanks("gpips", argv[0]);
45  return gpips_main(argc, argv);
46 }
int gpips_main(int, char **)
char * pips_thanks(char *, char *)
display pips thanks on startup, if it on a tty.
Definition: message.c:265

References gpips_main(), and pips_thanks().

+ Here is the call graph for this function:

◆ pips_thanks()

char* pips_thanks ( string  name,
string  path 
)

display pips thanks on startup, if it on a tty.

This file contains the main for fpips.

Parameters
nameame
pathath

Definition at line 265 of file message.c.

266 {
267  if (isatty(fileno(stdout)))
268  {
269  fprintf(stdout, PIPS_THANKS_STRING(STRINGIFY(SOFT_ARCH)), name, path);
270  fflush(stdout);
271  }
272 }
#define PIPS_THANKS_STRING(arch)
The # "stringificator" only works in a macro expansion...
Definition: message.c:247
#define STRINGIFY(symbol)
If not using this 2-stage macro evaluation, the generated string is not the value of the macro but th...
Definition: misc-local.h:50
int fprintf()
test sc_min : ce test s'appelle par : programme fichier1.data fichier2.data ...

Referenced by main().

+ Here is the caller graph for this function: